Mercurial > touhou
comparison 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 |
comparison
equal
deleted
inserted
replaced
158:7769ce7be03c | 159:4684d311a32d |
---|---|
63 item_type = self.item_types[6] | 63 item_type = self.item_types[6] |
64 self.items.extend(Item((bullet.x, bullet.y), item_type, self, player=player) for bullet in self.bullets) | 64 self.items.extend(Item((bullet.x, bullet.y), item_type, self, player=player) for bullet in self.bullets) |
65 self.bullets = [] | 65 self.bullets = [] |
66 | 66 |
67 | 67 |
68 def new_enemy(self, pos, life, instr_type, bonus_dropped, pop_enemy): | 68 def new_enemy(self, pos, life, instr_type, bonus_dropped): |
69 enemy = Enemy(pos, life, instr_type, bonus_dropped, self.enm_anm_wrapper, self, pop_enemy) | 69 enemy = Enemy(pos, life, instr_type, bonus_dropped, self.enm_anm_wrapper, self) |
70 self.enemies.append(enemy) | 70 self.enemies.append(enemy) |
71 return enemy | 71 return enemy |
72 | 72 |
73 | 73 |
74 def run_iter(self, keystate): | 74 def run_iter(self, keystate): |