diff pytouhou/game/bullet.pyx @ 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 6b4c3e250bd6
children 3bc37791f0a2
line wrap: on
line diff
--- a/pytouhou/game/bullet.pyx
+++ b/pytouhou/game/bullet.pyx
@@ -22,7 +22,7 @@ LAUNCHING, LAUNCHED, CANCELLED = range(3
 
 cdef class Bullet(Element):
     def __init__(self, pos, bullet_type, unsigned long sprite_idx_offset,
-                       double angle, double speed, attributes, unsigned long flags, target, game,
+                       double angle, double speed, attributes, unsigned long flags, target, Game game,
                        bint player_bullet=False, unsigned long damage=0, hitbox=None):
         cdef double launch_mult