Mercurial > touhou
diff pytouhou/game/particle.pxd @ 631:cd8a2baf468c
Move Particle to its own module, to not pollute pytouhou.game.effect.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 05 May 2015 14:49:22 +0200 |
parents | |
children |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/pytouhou/game/particle.pxd @@ -0,0 +1,8 @@ +from pytouhou.game.effect cimport Effect +from pytouhou.utils.interpolator cimport Interpolator + +cdef class Particle(Effect): + cdef long frame, duration + cdef Interpolator pos_interpolator + + cpdef update(self)