Ignore:
Timestamp:
09/07/13 12:36:09 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Message:

Add Death event to reduce death code duplication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/events.py

    r406 r440  
    4141
    4242
     43class DeathEvent(UserEvent):
     44    @classmethod
     45    def post(cls):
     46        super(DeathEvent, cls).post()
     47
     48
    4349class DoorEvent(UserEvent):
    4450    @classmethod
Note: See TracChangeset for help on using the changeset viewer.