diff 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
line wrap: on
line diff
--- a/pytouhou/game/enemy.py
+++ b/pytouhou/game/enemy.py
@@ -48,6 +48,7 @@ class Enemy(object):
         self.bullet_attributes = None
         self.bullet_launch_offset = (0, 0)
         self.death_callback = None
+        self.boss_callback = None
         self.low_life_callback = None
         self.low_life_trigger = None
         self.timeout = None