Mercurial > touhou
comparison pytouhou/game/character.py @ 176:80a4c7ed43b3
Add grazing check.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 22 Oct 2011 06:21:38 -0700 |
parents | 11ab06f4c4c6 |
children |
comparison
equal
deleted
inserted
replaced
175:5dc243bcf312 | 176:80a4c7ed43b3 |
---|---|
1 class Character(object): | 1 class Character(object): |
2 def __init__(self, anm_wrapper, speed, focused_speed, hitbox_size): | 2 def __init__(self, anm_wrapper, speed, focused_speed, hitbox_size, graze_hitbox_size): |
3 self.anm_wrapper = anm_wrapper | 3 self.anm_wrapper = anm_wrapper |
4 self.speed = speed | 4 self.speed = speed |
5 self.focused_speed = focused_speed | 5 self.focused_speed = focused_speed |
6 self.hitbox_size = hitbox_size | 6 self.hitbox_size = hitbox_size |
7 self.graze_hitbox_size = graze_hitbox_size |