Files
PyTaiko/libs/bg_objects/footer.py
2025-09-13 01:28:21 -04:00

13 lines
391 B
Python

from libs.texture import TextureWrapper
class Footer:
def __init__(self, tex: TextureWrapper, index: int, path: str = 'background'):
self.index = index
if self.index == -1:
return
tex.load_zip(path, 'footer')
def draw(self, tex: TextureWrapper):
if self.index == -1:
return
tex.draw_texture('footer', str(self.index))