Mercurial > touhou
diff pytouhou/game/game.py @ 154:364935f6e313
Implement enemy killing.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 09 Oct 2011 16:55:18 -0700 |
parents | 37df8c618c2e |
children | ebfd328e700c |
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, pop_enemy): - enemy = Enemy(pos, life, instr_type, self.enm_anm_wrapper, self, pop_enemy) + 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) self.enemies.append(enemy) return enemy