Mercurial > touhou
view 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 |
line wrap: on
line source
from pytouhou.game.element cimport Element from pytouhou.game.sprite cimport Sprite from pytouhou.game.player cimport PlayerState cdef class Orb(Element): cdef public double offset_x, offset_y cdef PlayerState player_state cdef object fire cpdef update(self)