Mercurial > touhou
view pytouhou/game/particle.pxd @ 687:ac092b70c39a
Fix PRNG not to panic, pass it to Enemy, and initialise it with time in eclrenderer.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 17 Aug 2019 13:49:31 +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)