view pytouhou/game/itemtype.pxd @ 532:dacdcca59b66

Don’t put back the rendering data into a tuple, use a specialised struct inside Sprite to pass it to the renderer.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 19 Dec 2013 21:55:26 +0100
parents 8038f1957b71
children
line wrap: on
line source

from pytouhou.game.sprite cimport Sprite

cdef class ItemType:
    cdef Sprite sprite, indicator_sprite
    cdef object anm