view pytouhou/game/element.pxd @ 529:bd0c15d28dd6

Always verify chunks are not None before using them, fix crash when audio is disabled.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 23 Mar 2014 10:51:19 +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