def __init__(self, renderer): Game.__init__(self) self._renderer = renderer self._player = self.new_player() self._zone = self.new_zone() from cgh.client import clientapp clientapp.singleton().renderer.camera.track(self._player.get_avatar())
def tick(self, dt): Game.tick(self, dt) self._player.tick(dt)