comparison pytouhou/game/enemy.py @ 103:789994275968

Fix boss callback, handle a few more callbacks
author Thibaut Girka <thib@sitedethib.com>
date Mon, 05 Sep 2011 01:07:43 +0200
parents 5c40cc1b8019
children 6c59d0eeb5fa
comparison
equal deleted inserted replaced
102:ad9297e0fbf2 103:789994275968
46 self.bullets = [] 46 self.bullets = []
47 self.extended_bullet_attributes = (0, 0, 0, 0, 0., 0., 0., 0.) 47 self.extended_bullet_attributes = (0, 0, 0, 0, 0., 0., 0., 0.)
48 self.bullet_attributes = None 48 self.bullet_attributes = None
49 self.bullet_launch_offset = (0, 0) 49 self.bullet_launch_offset = (0, 0)
50 self.death_callback = None 50 self.death_callback = None
51 self.boss_callback = None
51 self.low_life_callback = None 52 self.low_life_callback = None
52 self.low_life_trigger = None 53 self.low_life_trigger = None
53 self.timeout = None 54 self.timeout = None
54 self.timeout_callback = None 55 self.timeout_callback = None
55 self.remaining_lives = -1 56 self.remaining_lives = -1