Mercurial > touhou
view pytouhou/game/character.py @ 186:84da28ae7ee4
Parse command line with argparse.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 26 Oct 2011 15:03:50 -0700 |
parents | 80a4c7ed43b3 |
children |
line wrap: on
line source
class Character(object): def __init__(self, anm_wrapper, speed, focused_speed, hitbox_size, graze_hitbox_size): self.anm_wrapper = anm_wrapper self.speed = speed self.focused_speed = focused_speed self.hitbox_size = hitbox_size self.graze_hitbox_size = graze_hitbox_size