Exemplo n.º 1
0
    def __init__(self, position, character, color):
        GameObject.__init__(self, position, character, color, True)

        self.position = position
        self.movement_direction = []

        for x in range(-1, 2, 1):
            for y in range(-1, 2, 1):
                self.movement_direction.append((x, y))
Exemplo n.º 2
0
 def __init__(self, position, character, color):
     GameObject.__init__(self, position, character, color, True)
Exemplo n.º 3
0
 def __init__(self, position, image, name):
     GameObject.__init__(self, image, position)
     self.name = name
Exemplo n.º 4
0
 def __init__(self, position, coordenates, image_set=['mole.png', 'mole_dead.png']):
     GameObject.__init__(self, image_set, position)
     self.coordenates = coordenates