Mercurial > touhou
view pytouhou/game/particle.pxd @ 662:107bb5ca5cc8
Implement Enemy::update(), which now renders the first fairy from stage 1 perfectly!
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 11 Aug 2019 18:14:01 +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)