mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
13 lines
381 B
Python
13 lines
381 B
Python
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))
|