view pytouhou/game/particle.pxd @ 754:a6875f90c141

Python: Only init SDL2 video if using SDL2 frontend.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 04 Jan 2021 20:39:30 +0100
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)