view pytouhou/game/character.py @ 130:11ab06f4c4c6

Introduce characters!
author Thibaut Girka <thib@sitedethib.com>
date Sat, 10 Sep 2011 22:48:56 +0200
parents
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