Mercurial > touhou
diff pytouhou/game/enemy.py @ 345:2c4589370cc6
Display a boss remaining lives and timeout.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 05 Jul 2012 00:11:19 +0200 |
parents | 94fdb6c782c1 |
children | 862011266f2c |
line wrap: on
line diff
--- a/pytouhou/game/enemy.py +++ b/pytouhou/game/enemy.py @@ -395,11 +395,14 @@ class Enemy(object): return if death_flags == 1: + self.boss = False #TODO: really? + self._game.boss = None self.touchable = False elif death_flags == 2: pass # Just that? elif death_flags == 3: - #TODO: disable boss mode + self.boss = False #TODO: really? + self._game.boss = None self.damageable = False self.life = 1 self.death_flags = 0