diff pytouhou/game/bullet.pyx @ 448:3bc37791f0a2

Make Bullet.state an enum.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 17 Aug 2013 17:44:11 +0200
parents 78e1c3864e73
children feecdb4a8928
line wrap: on
line diff
--- a/pytouhou/game/bullet.pyx
+++ b/pytouhou/game/bullet.pyx
@@ -18,8 +18,6 @@ from pytouhou.vm.anmrunner import ANMRun
 from pytouhou.game.sprite cimport Sprite
 
 
-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 game,