self._app = app
self._scene = scene
self._world = world
+ self._update_vehicle = False
def _apply_events(self, events):
if not events:
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):