Mercurial > touhou
view pytouhou/game/orb.pxd @ 606:3c2f96f1d715
Fix compilation under Cython 0.22, by making the pyx and the pxd declarations’ except clause similar.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 26 Nov 2014 13:36:38 +0100 |
parents | b32cef75df59 |
children |
line wrap: on
line source
from pytouhou.game.element cimport Element from pytouhou.game.sprite cimport Sprite cdef class Orb(Element): cdef public double offset_x, offset_y cdef Element player cdef object fire cpdef update(self)