view pytouhou/game/character.py @ 140:a9d46c4b5764

Fix move_to (handle variables) and spawn_enemy
author Thibaut Girka <thib@sitedethib.com>
date Sun, 25 Sep 2011 20:16:13 +0200
parents 11ab06f4c4c6
children 80a4c7ed43b3
line wrap: on
line source

class Character(object):
    def __init__(self, anm_wrapper, speed, focused_speed, hitbox_size):
        self.anm_wrapper = anm_wrapper
        self.speed = speed
        self.focused_speed = focused_speed
        self.hitbox_size = hitbox_size