Beispiel #1
0
 def __init__(self, character, color, location):
     Drawable.__init__(self, character, color, location, PLAYER_SIZE)
     HandlesEvents.__init__(self, [])
     self.events.append(MovementEvent)
Beispiel #2
0
    def __init__(self, location, angle, string):
        Drawable.__init__(self, string, (255, 255, 255), location, 12)
        HandlesEvents.__init__(self, [ UpdateEvent ])

        self.location = location
        self.angle = angle