Mercurial > touhou
view pytouhou/game/particle.pxd @ 641:a58103f2f264
Implement and use interpolators.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 07 Jul 2019 12:17:42 +0200 |
parents | cd8a2baf468c |
children |
line wrap: on
line source
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)