view pytouhou/game/particle.pxd @ 657:ff7b6355cdf1

Port the Enemy struct from Python, for now without its methods.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 09 Aug 2019 01:36:47 +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)