view pytouhou/game/element.pxd @ 675:6be3320a1cb3

Use the same RenderState as PyTouhou in anmrenderer, and normalize color, thanks phaazon!
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 15 Aug 2019 00:26:01 +0200
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