Example #1
0
 def __init__(self, node, dim, pos=(0, 0)):
     AbstractEntity.__init__(self, dim, pos)
     self.COLOR = (255, 255, 0)
     self.direction = Vector2D(0, 0)
     self.speed = 3.2
     self.currentnode = node
     self.moving = False
     self.count_pacman_animate = 1
Example #2
0
 def __init__(self, speed, node, color, dim, pos=(0,0)):
     AbstractEntity.__init__(self, dim, pos)
     self.COLOR = color
     self.direction = Vector2D(0, 0)
     self.speed = speed
     self.currentnode = node
     self.moving = False
     self.scatter = False
Example #3
0
 def __init__(self,node ,dim ,pos=(0,0)):
    AbstractEntity.__init__(self, dim, pos)
    self.COLOR = (255,255,0)
    self.direction = Vector2D(0, 0)
    self.speed = 3.2
    self.currentnode = node
    self.moving = False
    self.count_pacman_animate = 1
Example #4
0
 def __init__(self, speed, node, color, dim, pos=(0, 0)):
     AbstractEntity.__init__(self, dim, pos)
     self.COLOR = color
     self.direction = Vector2D(0, 0)
     self.speed = speed
     self.currentnode = node
     self.moving = False
     self.scatter = False
     self.rand_move_count = 1
Example #5
0
 def __init__(self,node ,dim ,pos=(0,0)):
    AbstractEntity.__init__(self, dim, pos)
    self.COLOR = (255,255,0)
    self.direction = Vector2D(0, 0)
    self.speed = 0.80
    self.currentnode = node
Example #6
0
 def __init__(self, dim, pos=[0, 0]):
     AbstractEntity.__init__(self, dim, pos)
     self.COLOR = (255, 0, 0)
Example #7
0
 def __init__(self, dim, pos=[0,0]):
     AbstractEntity.__init__(self, dim, pos)
     self.COLOR = (0, 140, 0)
Example #8
0
 def __init__(self, dim, pos=Vector2D(0, 0)):
     AbstractEntity.__init__(self, dim, pos)
     self.COLOR = (255, 255, 0)
     self.direction = 'LEFT'
     self.collided = False