summaryrefslogtreecommitdiff
path: root/riseoftodmoldren/app.py
blob: 76ad43e764b27de506090d8cc84f27dd18b4e953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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())