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

#include <gameevents.h>

Inheritance diagram for AllBuildingsLost:
Inheritance graph
[legend]

Public Member Functions

 AllBuildingsLost ()
 
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 212 of file gameevents.h.

Constructor & Destructor Documentation

AllBuildingsLost::AllBuildingsLost ( )
inline

Definition at line 216 of file gameevents.h.

Member Function Documentation

ASCString AllBuildingsLost::getDetailledName ( ) const
virtual

Implements EventTrigger.

Definition at line 319 of file gameevents.cpp.

References getTypeName().

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

Implements EventTrigger.

Definition at line 314 of file gameevents.cpp.

Referenced by getDetailledName().

virtual void AllBuildingsLost::readData ( tnstream stream)
inlinevirtual

Implements EventTrigger.

Definition at line 218 of file gameevents.h.

References tnstream::readInt().

void AllBuildingsLost::setup ( void  )
inlinevirtual

Implements EventTrigger.

Definition at line 222 of file gameevents.h.

virtual void AllBuildingsLost::writeData ( tnstream stream)
inlinevirtual

Implements EventTrigger.

Definition at line 219 of file gameevents.h.

References tnstream::writeInt().


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