mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 19:50:12 +01:00
17 lines
460 B
Python
17 lines
460 B
Python
import pyray as ray
|
|
|
|
class EntryScreen:
|
|
def __init__(self, width, height):
|
|
self.width = width
|
|
self.height = height
|
|
|
|
self.texture_footer = ray.load_texture('Graphics\\lumendata\\entry\\entry_img00375.png')
|
|
|
|
def update(self):
|
|
if ray.is_key_pressed(ray.KeyboardKey.KEY_ENTER):
|
|
return "GAME"
|
|
return None
|
|
|
|
def draw(self):
|
|
ray.draw_texture(self.texture_footer, 0, self.height - 151, ray.WHITE)
|