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

Enemies leave corpses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/events.py

    r305 r308  
    5353                                   damage=damage,
    5454                                   source_collision_type=source_collision_type)
     55
     56
     57class EnemyDeathEvent(UserEvent):
     58    @classmethod
     59    def post(cls, position, enemy_type):
     60        super(EnemyDeathEvent, cls).post(position=position,
     61                                         enemy_type=enemy_type)
Note: See TracChangeset for help on using the changeset viewer.