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