def __init__(self, building, gameView, particleNum, layer): Process.__init__(self) self.building = building self.world = self.building._world self.gameView = gameView self.gameView._views.append(self) self.particleNum = particleNum self.layer = layer self.particles = []
def __init__(self, world, gameView): Process.__init__(self) self._world = world self._gameView = gameView self._world._em.registerListener(Event.RESEARCH_DEPLETED, self.addEntity, [0]) self._toFading = [] self._fading = [] self.TO_FADING_TIME = 4000 self.FADING_TIME = 4000
def __init__(self, humanView): Process.__init__(self) self._humanView = humanView
def __init__(self, world, gameView): Process.__init__(self) self._world = world self._gameView = gameView self._buildings = []
def __init__(self, gameView): Process.__init__(self) self._gameView = gameView
def __init__(self, world): Process.__init__(self) self._world = world
def __init__(self, camera): Process.__init__(self) self.c = camera self.c.center = Vector2(75, 63) self.c.zoom(1/3)