Mercurial > touhou
comparison pytouhou/game/game.py @ 157:ca6f8b3f739d
Remove half of the new_enemy/pop_enemy mess.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 10 Oct 2011 18:42:02 +0200 |
parents | ebfd328e700c |
children | 4684d311a32d |
comparison
equal
deleted
inserted
replaced
156:ebfd328e700c | 157:ca6f8b3f739d |
---|---|
46 self.frame = 0 | 46 self.frame = 0 |
47 | 47 |
48 self.enm_anm_wrapper = resource_loader.get_anm_wrapper2(('stg%denm.anm' % stage, | 48 self.enm_anm_wrapper = resource_loader.get_anm_wrapper2(('stg%denm.anm' % stage, |
49 'stg%denm2.anm' % stage)) | 49 'stg%denm2.anm' % stage)) |
50 ecl = resource_loader.get_ecl('ecldata%d.ecl' % stage) | 50 ecl = resource_loader.get_ecl('ecldata%d.ecl' % stage) |
51 self.ecl_runner = ECLMainRunner(ecl, self.new_enemy, self) | 51 self.ecl_runner = ECLMainRunner(ecl, self) |
52 | 52 |
53 | 53 |
54 def drop_bonus(self, x, y, _type): | 54 def drop_bonus(self, x, y, _type): |
55 player = self.players[0] #TODO | 55 player = self.players[0] #TODO |
56 item_type = self.item_types[_type] | 56 item_type = self.item_types[_type] |