view pytouhou/game/effect.pxd @ 453:17a7f3b028f3

Raise an exception if GL context creation fails instead of failing silently.
author Thibaut Girka <thib@sitedethib.com>
date Fri, 30 Aug 2013 23:32:36 +0200
parents cae83b963695
children cd8a2baf468c
line wrap: on
line source

from pytouhou.game.element cimport Element
from pytouhou.utils.interpolator cimport Interpolator

cdef class Effect(Element):
    cpdef update(self)


cdef class Particle(Effect):
    cdef long frame, duration
    cdef Interpolator pos_interpolator

    cpdef update(self)