Mercurial > touhou
view pytouhou/game/particle.pxd @ 646:7d92730bf543
Add a PRNG and use it for anm0 instruction 16.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 03 Aug 2019 23:30:15 +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)