Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
UnitConquered Class Reference

#include <gameevents.h>

Inheritance diagram for UnitConquered:
Inheritance graph

Public Member Functions

 UnitConquered ()
 UnitConquered (int unitID_)
ASCString getTypeName () const
ASCString getDetailledName () const
void arm ()
- Public Member Functions inherited from UnitTrigger
 UnitTrigger (EventTriggerID id)
virtual void readData (tnstream &stream)
virtual void writeData (tnstream &stream)
ASCString getName () const
void setup ()
void triggered ()
- Public Member Functions inherited from EventTrigger
State state (int player)
 takes the inversion into account, which getState(int) does not More...
void setMap (GameMap *gamemap_)
void setEvent (Event *ev)
EventTriggerID getTriggerID ()
virtual ~EventTrigger ()

Protected Member Functions

virtual State getState (int player)
- Protected Member Functions inherited from EventTrigger
 EventTrigger (EventTriggerID id)
bool isFulfilled ()

Additional Inherited Members

- Public Types inherited from EventTrigger
enum  State { unfulfilled, fulfilled, finally_fulfilled, finally_failed }
- Public Attributes inherited from EventTrigger
bool invert
- Protected Attributes inherited from UnitTrigger
int unitID
- Protected Attributes inherited from EventTrigger

Detailed Description

Definition at line 188 of file gameevents.h.

Constructor & Destructor Documentation

UnitConquered::UnitConquered ( )

Definition at line 192 of file gameevents.h.

UnitConquered::UnitConquered ( int  unitID_)

Definition at line 193 of file gameevents.h.

References UnitTrigger::unitID.

Member Function Documentation

void UnitConquered::arm ( )
ASCString UnitConquered::getDetailledName ( ) const

Implements EventTrigger.

Definition at line 433 of file gameevents.cpp.

References UnitTrigger::getName().

EventTrigger::State UnitConquered::getState ( int  player)
ASCString UnitConquered::getTypeName ( ) const

Implements EventTrigger.

Definition at line 427 of file gameevents.cpp.

The documentation for this class was generated from the following files: