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

No, we really don't need EnemyDeathEvent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r399 r406  
    99    COLLISION_TYPE_FURNITURE, COLLISION_TYPE_WEREWOLF_ATTACK,
    1010    CMD_TOGGLE_FORM, CMD_ACTION)
    11 from nagslang.events import ScreenChange, DoorEvent, EnemyDeathEvent
     11from nagslang.events import ScreenChange, DoorEvent
    1212from nagslang.level import Level
    1313from nagslang.screens.base import Screen
     
    178178            # else we're teleporting within the screen, and just the
    179179            # position change is enough
    180         elif EnemyDeathEvent.matches(ev):
    181             self.world.kills += 1
    182180        self.keys.handle_event(ev)
    183181
Note: See TracChangeset for help on using the changeset viewer.