Mercurial > touhou
view pytouhou/game/orb.pxd @ 489:59bd29568753
Remove identity lambda for interpolators, improves performances slightly.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 04 Oct 2013 11:19:04 +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)