diff pytouhou/game/orb.py @ 430:c9433188ffdb

Remove AnmWrapper, since ANMs are lists of entries now.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 03 Aug 2013 15:49:04 +0200
parents f3099ebf4f61
children 1222341ea22c
line wrap: on
line diff
--- a/pytouhou/game/orb.py
+++ b/pytouhou/game/orb.py
@@ -21,9 +21,9 @@ class Orb(object):
     __slots__ = ('sprite', 'anmrunner', 'offset_x', 'offset_y', 'player_state',
                  'fire')
 
-    def __init__(self, anm_wrapper, index, player_state, fire_func):
+    def __init__(self, anm, index, player_state, fire_func):
         self.sprite = Sprite()
-        self.anmrunner = ANMRunner(anm_wrapper, index, self.sprite)
+        self.anmrunner = ANMRunner(anm, index, self.sprite)
         self.anmrunner.run_frame()
 
         self.offset_x = 0