mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
add custom background implementation and A3 collab
This commit is contained in:
12
libs/bg_objects/footer.py
Normal file
12
libs/bg_objects/footer.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from libs.texture import TextureWrapper
|
||||
|
||||
class Footer:
|
||||
def __init__(self, tex: TextureWrapper, index: int):
|
||||
self.index = index
|
||||
if self.index == -1:
|
||||
return
|
||||
tex.load_zip('background/regular', 'footer')
|
||||
def draw(self, tex: TextureWrapper):
|
||||
if self.index == -1:
|
||||
return
|
||||
tex.draw_texture('footer', str(self.index))
|
||||
Reference in New Issue
Block a user