Beispiel #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))
Beispiel #2
0
 def __init__(self, position, character, color):
     GameObject.__init__(self, position, character, color, True)
Beispiel #3
0
 def __init__(self, position, image, name):
     GameObject.__init__(self, image, position)
     self.name = name
Beispiel #4
0
 def __init__(self, position, coordenates, image_set=['mole.png', 'mole_dead.png']):
     GameObject.__init__(self, image_set, position)
     self.coordenates = coordenates