Mercurial > touhou
view pytouhou/game/orb.pxd @ 493:26c082870dcf
Use a cached static float[16] instead of a list for default Matrix data.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 05 Oct 2013 22:00:53 +0200 |
parents | 06f0eeb519bb |
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)