Mercurial > skaapsteker
diff skaapsteker/engine.py @ 244:5bbf90e6a94b
Add minimal support for player death
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Thu, 07 Apr 2011 18:13:51 +0200 |
parents | 9d08f99b5ddf |
children | 129afb4417cf |
line wrap: on
line diff
--- a/skaapsteker/engine.py Thu Apr 07 16:42:54 2011 +0200 +++ b/skaapsteker/engine.py Thu Apr 07 18:13:51 2011 +0200 @@ -94,3 +94,11 @@ @classmethod def post(cls, next_scene): super(ChangeScene, cls).post(next_scene=next_scene) + +class PlayerDied(UserEvent): + + utype = "PLAYER_DIED" + + @classmethod + def post(cls): + super(PlayerDied, cls).post()