Mercurial > touhou
view pytouhou/game/character.py @ 136:d3005ebe797a
Fix MSG parsing, use the offsets instead of trying to relate them to the actual data.
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
|---|---|
| date | Fri, 23 Sep 2011 10:05:20 -0700 |
| 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
