Mercurial > touhou
comparison pytouhou/game/effect.pxd @ 443:cae83b963695
Make pytouhou.game.effect an extension type.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 17 Aug 2013 02:36:05 +0200 |
parents | |
children | cd8a2baf468c |
comparison
equal
deleted
inserted
replaced
442:6b4c3e250bd6 | 443:cae83b963695 |
---|---|
1 from pytouhou.game.element cimport Element | |
2 from pytouhou.utils.interpolator cimport Interpolator | |
3 | |
4 cdef class Effect(Element): | |
5 cpdef update(self) | |
6 | |
7 | |
8 cdef class Particle(Effect): | |
9 cdef long frame, duration | |
10 cdef Interpolator pos_interpolator | |
11 | |
12 cpdef update(self) |