view pytouhou/game/particle.pxd @ 669:1bb8b34dbd32

Don’t allocate a Vec while reading a String in ECL.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 12 Aug 2019 15:10:19 +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)