view pytouhou/game/particle.pxd @ 675:6be3320a1cb3

Use the same RenderState as PyTouhou in anmrenderer, and normalize color, thanks phaazon!
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 15 Aug 2019 00:26: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)