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

#include <gameevents.h>

Inheritance diagram for AllUnitsLost:
Inheritance graph
[legend]

Public Member Functions

 AllUnitsLost ()
 
virtual void readData (tnstream &stream)
 
virtual void writeData (tnstream &stream)
 
ASCString getTypeName () const
 
ASCString getDetailledName () const
 
void setup ()
 
- Public Member Functions inherited from EventTrigger
State state (int player)
 takes the inversion into account, which getState(int) does not More...
 
virtual void arm ()
 
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 EventTrigger
GameMapgamemap
 
Eventevent
 

Detailed Description

Definition at line 225 of file gameevents.h.

Constructor & Destructor Documentation

AllUnitsLost::AllUnitsLost ( )
inline

Definition at line 229 of file gameevents.h.

Member Function Documentation

ASCString AllUnitsLost::getDetailledName ( ) const
virtual

Implements EventTrigger.

Definition at line 338 of file gameevents.cpp.

References getTypeName().

EventTrigger::State AllUnitsLost::getState ( int  player)
protectedvirtual
ASCString AllUnitsLost::getTypeName ( ) const
virtual

Implements EventTrigger.

Definition at line 333 of file gameevents.cpp.

Referenced by getDetailledName().

virtual void AllUnitsLost::readData ( tnstream stream)
inlinevirtual

Implements EventTrigger.

Definition at line 231 of file gameevents.h.

References tnstream::readInt().

void AllUnitsLost::setup ( void  )
inlinevirtual

Implements EventTrigger.

Definition at line 235 of file gameevents.h.

virtual void AllUnitsLost::writeData ( tnstream stream)
inlinevirtual

Implements EventTrigger.

Definition at line 232 of file gameevents.h.

References tnstream::writeInt().


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