def __init__(self, name, pos, animationSpeed):
     GameEntity.__init__(self, position=pos, name=name )
     self.animationSpeed = animationSpeed
     self.currentMode    = 'a'
     self.activeDirectionIndex = 0
Exemple #2
0
 def __init__(self, playerId, isAiPlayer = False):
     GameEntity.__init__(self)
     self.playerId   = playerId 
     self.isAiPlayer = isAiPlayer
     self.position   = Vector2D(10.0,10.0)
     self.checkVisibility = False