예제 #1
0
파일: character.py 프로젝트: anylonen/arl
    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))
예제 #2
0
파일: character.py 프로젝트: anylonen/arl
 def __init__(self, position, character, color):
     GameObject.__init__(self, position, character, color, True)
예제 #3
0
 def __init__(self, position, image, name):
     GameObject.__init__(self, image, position)
     self.name = name
예제 #4
0
 def __init__(self, position, coordenates, image_set=['mole.png', 'mole_dead.png']):
     GameObject.__init__(self, image_set, position)
     self.coordenates = coordenates