diff pytouhou/game/item.pxd @ 472:8038f1957b71

Type bullettype, itemtype and lasertype a bit.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 16 Sep 2013 18:42:04 +0200
parents feecdb4a8928
children 3d3285918ba1
line wrap: on
line diff
--- a/pytouhou/game/item.pxd
+++ b/pytouhou/game/item.pxd
@@ -1,6 +1,7 @@
 from pytouhou.game.element cimport Element
 from pytouhou.game.game cimport Game
 from pytouhou.game.player cimport Player
+from pytouhou.game.itemtype cimport ItemType
 from pytouhou.utils.interpolator cimport Interpolator
 
 
@@ -11,7 +12,7 @@ cdef class Indicator(Element):
 
 
 cdef class Item(Element):
-    cdef public object _item_type
+    cdef public ItemType _item_type
 
     cdef unsigned long frame
     cdef long _type