diff pytouhou/game/bullet.pyx @ 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 887de1309491
line wrap: on
line diff
--- a/pytouhou/game/bullet.pyx
+++ b/pytouhou/game/bullet.pyx
@@ -19,7 +19,7 @@ from pytouhou.game.sprite cimport Sprite
 
 
 cdef class Bullet(Element):
-    def __init__(self, pos, bullet_type, unsigned long sprite_idx_offset,
+    def __init__(self, pos, BulletType bullet_type, unsigned long sprite_idx_offset,
                        double angle, double speed, attributes, unsigned long flags, target, Game game,
                        bint player_bullet=False, unsigned long damage=0, tuple hitbox=None):
         cdef double launch_mult