Пример #1
0
    def __init__(self):
        super(Shooter, self).__init__(TDS)

        self._world = world.World(self, self.engine, self._setting)
        self._listener = ApplicationListener(self.engine, self._world)
Пример #2
0
 def __init__(self):
     super(IslandDemo, self).__init__(TDS)
     self.world = world.World(self.engine)
     self.listener = ApplicationListener(self.engine, self.world)
     self.world.load(str(TDS.get("rio", "MapFile")))
Пример #3
0
    def __init__(self):
        super(ZombiesWTF, self).__init__(TDS)
        self.world = world.World(self.engine)
        self.listener = ApplicationListener(self.engine, self.world)

        self.soundmanager = SoundManager(self.engine)