Ignore:
Timestamp:
Sep 6, 2013, 10:42:09 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

Use Result to handle enemy death (but keep the event for accounting purposes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/events.py

    r363 r391  
    5757class EnemyDeathEvent(UserEvent):
    5858    @classmethod
    59     def post(cls, position, enemy_type):
    60         super(EnemyDeathEvent, cls).post(position=position,
    61                                          enemy_type=enemy_type)
     59    def post(cls):
     60        super(EnemyDeathEvent, cls).post()
    6261
    6362
Note: See TracChangeset for help on using the changeset viewer.