TITLE = "Koperkapel"
WIDTH = 1024
HEIGHT = 768
+
+from .scenes import menu
+
+current_scene = menu.MenuScene()
+
+
+def update(dt):
+ current_scene.update(dt)
+
+
+def draw():
+ current_scene.draw(screen)
--- /dev/null
+""" Scene utilities. """
+
+
+class Scene:
+ """ Base class for scenes. """
+
+ def update(self, dt):
+ pass
+
+ def draw(self, screen):
+ pass
--- /dev/null
+""" Mani menu scene. """
+
+from .base import Scene
+
+
+class MenuScene(Scene):
+ """ Main menu scene. """
+
+ def draw(self, screen):
+ screen.draw.text("Main menu", (300, 300))