diff options
Diffstat (limited to 'riseoftodmoldren/app.py')
-rw-r--r-- | riseoftodmoldren/app.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/riseoftodmoldren/app.py b/riseoftodmoldren/app.py new file mode 100644 index 0000000..76ad43e --- /dev/null +++ b/riseoftodmoldren/app.py @@ -0,0 +1,19 @@ +import pygame + +from .base import StateApp +from .screens.start import StartScreen + + +class TheRiseOfTodmoldren(StateApp): + name = "The Rise Of Todmoldren" + size = (1280, 720) + + def __init__(self): + super().__init__() + + if not pygame.image.get_extended(): + raise SystemExit("Sorry, extended image module required") + + def on_init(self): + super().on_init() + self.push_state(StartScreen()) |