comparison pytouhou/game/enemy.py @ 307:5930b33a0370

Minor refactoring
author Thibaut Girka <thib@sitedethib.com>
date Tue, 13 Mar 2012 19:52:42 +0100
parents f3099ebf4f61
children 14c9aca8e274
comparison
equal deleted inserted replaced
306:52d791bb7c32 307:5930b33a0370
51 self.current_laser_id = 0 51 self.current_laser_id = 0
52 self.laser_by_id = {} 52 self.laser_by_id = {}
53 self.bullet_attributes = None 53 self.bullet_attributes = None
54 self.bullet_launch_offset = (0, 0) 54 self.bullet_launch_offset = (0, 0)
55 self.death_callback = -1 55 self.death_callback = -1
56 self.boss_callback = None 56 self.boss_callback = -1
57 self.low_life_callback = -1 57 self.low_life_callback = -1
58 self.low_life_trigger = None 58 self.low_life_trigger = None
59 self.timeout = -1 59 self.timeout = -1
60 self.timeout_callback = -1 60 self.timeout_callback = -1
61 self.remaining_lives = -1 61 self.remaining_lives = -1