Mercurial > touhou
view pytouhou/game/particle.pxd @ 677:082c39d7d1c3
Use a struct for difficulty coeffs, so that we can impl Default on it.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 15 Aug 2019 21:32:54 +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)