Mercurial > touhou
view pytouhou/game/element.pxd @ 526:0b2a92a25245
Store data in C arrays in Sprite, and add an interface to access them as tuples.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 18 Dec 2013 18:15:45 +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