#include <gameevents.h>
Inheritance diagram for UnitDestroyed:

Public Member Functions | |
| UnitDestroyed () | |
| UnitDestroyed (int unitID_) | |
| ASCString | getTypeName () const |
| ASCString | getDetailledName () const |
| void | arm () |
Protected Member Functions | |
| virtual State | getState (int player) |
Definition at line 199 of file gameevents.h.
| UnitDestroyed::UnitDestroyed | ( | ) | [inline] |
Definition at line 203 of file gameevents.h.
| UnitDestroyed::UnitDestroyed | ( | int | unitID_ | ) | [inline] |
| EventTrigger::State UnitDestroyed::getState | ( | int | player | ) | [protected, virtual] |
Implements EventTrigger.
Definition at line 448 of file gameevents.cpp.
References EventTrigger::finally_fulfilled, EventTrigger::gamemap, GameMap::getUnit(), EventTrigger::unfulfilled, and UnitTrigger::unitID.
| ASCString UnitDestroyed::getTypeName | ( | ) | const [virtual] |
| ASCString UnitDestroyed::getDetailledName | ( | ) | const [virtual] |
Implements EventTrigger.
Definition at line 462 of file gameevents.cpp.
References UnitTrigger::getName().
| void UnitDestroyed::arm | ( | ) | [virtual] |
Reimplemented from EventTrigger.
Definition at line 467 of file gameevents.cpp.
References ContainerBase::destroyed, EventTrigger::gamemap, GameMap::getUnit(), UnitTrigger::triggered(), and UnitTrigger::unitID.
1.5.1