Mercurial > touhou
diff pytouhou/game/enemy.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 | 7769ce7be03c |
children | dcf32488a2c9 |
line wrap: on
line diff
--- a/pytouhou/game/enemy.py +++ b/pytouhou/game/enemy.py @@ -22,7 +22,7 @@ from math import cos, sin, atan2, pi class Enemy(object): - def __init__(self, pos, life, _type, bonus_dropped, anm_wrapper, game, pop_enemy): + def __init__(self, pos, life, _type, bonus_dropped, anm_wrapper, game): self._game = game self._anm_wrapper = anm_wrapper self._sprite = None @@ -71,8 +71,6 @@ class Enemy(object): self.hitbox_half_size = (0, 0) self.screen_box = None - self.pop_enemy = pop_enemy - def set_bullet_attributes(self, type_, anim, sprite_idx_offset, bullets_per_shot, number_of_shots, speed, speed2,