mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 19:50:12 +01:00
14 lines
392 B
Python
14 lines
392 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))
|