diff pytouhou/game/game.py @ 159:4684d311a32d

Remove remaining pop_enemy/new_enemy mess
author Thibaut Girka <thib@sitedethib.com>
date Mon, 10 Oct 2011 19:01:23 +0200
parents ca6f8b3f739d
children 7e7368356445
line wrap: on
line diff
--- a/pytouhou/game/game.py
+++ b/pytouhou/game/game.py
@@ -65,8 +65,8 @@ class Game(object):
         self.bullets = []
 
 
-    def new_enemy(self, pos, life, instr_type, bonus_dropped, pop_enemy):
-        enemy = Enemy(pos, life, instr_type, bonus_dropped, self.enm_anm_wrapper, self, pop_enemy)
+    def new_enemy(self, pos, life, instr_type, bonus_dropped):
+        enemy = Enemy(pos, life, instr_type, bonus_dropped, self.enm_anm_wrapper, self)
         self.enemies.append(enemy)
         return enemy