Mercurial > touhou
comparison pytouhou/game/orb.pxd @ 471:06f0eeb519bb
Make Laser and Orb extension types, and use that where possible.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 16 Sep 2013 18:42:04 +0200 |
parents | |
children | 6be9c99a3a24 |
comparison
equal
deleted
inserted
replaced
470:98995d8ac744 | 471:06f0eeb519bb |
---|---|
1 from pytouhou.game.element cimport Element | |
2 from pytouhou.game.sprite cimport Sprite | |
3 from pytouhou.game.player cimport PlayerState | |
4 | |
5 cdef class Orb(Element): | |
6 cdef public double offset_x, offset_y | |
7 cdef PlayerState player_state | |
8 cdef object fire | |
9 | |
10 cpdef update(self) |