view pytouhou/game/orb.pxd @ 488:791faab05445

Don’t compile files that don’t benefit from static typing.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 04 Oct 2013 11:11:02 +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)