Mercurial > touhou
comparison pytouhou/game/orb.pxd @ 494:6be9c99a3a24
Merge PlayerState into Player, fix player respawn position.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 14 Oct 2013 12:11:01 +0200 |
parents | 06f0eeb519bb |
children | b32cef75df59 |
comparison
equal
deleted
inserted
replaced
493:26c082870dcf | 494:6be9c99a3a24 |
---|---|
1 from pytouhou.game.element cimport Element | 1 from pytouhou.game.element cimport Element |
2 from pytouhou.game.sprite cimport Sprite | 2 from pytouhou.game.sprite cimport Sprite |
3 from pytouhou.game.player cimport PlayerState | 3 from pytouhou.game.player cimport Player |
4 | 4 |
5 cdef class Orb(Element): | 5 cdef class Orb(Element): |
6 cdef public double offset_x, offset_y | 6 cdef public double offset_x, offset_y |
7 cdef PlayerState player_state | 7 cdef Player player |
8 cdef object fire | 8 cdef object fire |
9 | 9 |
10 cpdef update(self) | 10 cpdef update(self) |