diff pytouhou/game/element.pxd @ 440:b9d2db93972f

Add a base Element class for every object in pytouhou.game.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 30 Aug 2013 14:16:08 +0200
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/pytouhou/game/element.pxd
@@ -0,0 +1,8 @@
+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