diff pytouhou/game/player.pxd @ 447:78e1c3864e73

Make pytouhou.game.game an extension type.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 17 Aug 2013 06:29:53 +0200
parents b0abb05811f7
children 4ccc47828002
line wrap: on
line diff
--- a/pytouhou/game/player.pxd
+++ b/pytouhou/game/player.pxd
@@ -1,4 +1,5 @@
 from pytouhou.game.element cimport Element
+from pytouhou.game.game cimport Game
 
 cdef class PlayerState:
     cdef public double x, y
@@ -8,8 +9,8 @@ cdef class PlayerState:
 
 cdef class Player(Element):
     cdef public PlayerState state
-    cdef public object _game
     cdef public long death_time
+    cdef public Game _game
 
     cdef object anm
     cdef tuple speeds