def update(self, interval, world): self.dirty = 1 return Entity.update(self, interval, world)
def __init__(self, stateManager, category, drawCallback=None): Entity.__init__(self, category, drawCallback) self.stateManager = stateManager
def update(self, interval, world): self.stateManager.updateStates() return Entity.update(self, interval, world)
def __init__(self, stateManager, category, drawCallback = None): Entity.__init__(self, category, drawCallback) self.stateManager = stateManager