Mercurial > touhou
comparison pytouhou/game/effect.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 | cae83b963695 |
children |
comparison
equal
deleted
inserted
replaced
630:6c40f5840a06 | 631:cd8a2baf468c |
---|---|
1 from pytouhou.game.element cimport Element | 1 from pytouhou.game.element cimport Element |
2 from pytouhou.utils.interpolator cimport Interpolator | |
3 | 2 |
4 cdef class Effect(Element): | 3 cdef class Effect(Element): |
5 cpdef update(self) | 4 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) |