view pytouhou/game/element.pxd @ 753:a662dddd4a2b

examples: Use array textures for enemy PNGs This requires luminance 0.39.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 25 Feb 2020 21:03:44 +0100
parents b9d2db93972f
children
line wrap: on
line source

from pytouhou.game.sprite cimport Sprite

cdef class Element:
    cdef public double x, y
    cdef public bint removed
    cdef public Sprite sprite
    cdef public list objects
    cdef public object anmrunner