The endless pointlessness of level progression
[koperkapel.git] / koperkapel / scenes / base.py
index 8bc803ae2ba0fbdc29db684f643be3a046300b17..24a8c615fa06c43f97fe893f302d5aab3197f26b 100644 (file)
@@ -20,6 +20,7 @@ class Engine:
         self._app = app
         self._scene = scene
         self._world = world
+        self._update_vehicle = False
 
     def _apply_events(self, events):
         if not events:
@@ -28,8 +29,10 @@ class Engine:
             ev.apply(self)
 
     def change_scene(self, scene):
+        print('here', self._scene)
         self._apply_events(self._scene.exit(self._world.proxy()))
         self._scene = scene
+        print('there', self._scene)
         self._apply_events(self._scene.enter(self._world.proxy()))
 
     def change_world(self, *args, **kw):