Mercurial > touhou
diff pytouhou/game/player.pxd @ 465:5f5955635d2c
Move continues to PlayerState, and make sure they aren’t reinitialized before each stage.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 11 Sep 2013 16:03:55 +0200 |
parents | 4ccc47828002 |
children | feecdb4a8928 |
line wrap: on
line diff
--- a/pytouhou/game/player.pxd +++ b/pytouhou/game/player.pxd @@ -4,7 +4,11 @@ from pytouhou.game.game cimport Game cdef class PlayerState: cdef public double x, y cdef public bint touchable, focused - cdef public long character, score, effective_score, lives, bombs, power, graze, points, invulnerable_time, power_bonus + cdef public long character, score, effective_score, lives, bombs, power + cdef public long graze, points + + cdef long invulnerable_time, power_bonus, continues, continues_used, miss, + cdef long bombs_used cdef class Player(Element):