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

#include <gameevents.h>

Inheritance diagram for AllEnemyUnitsDestroyed:
Inheritance graph
[legend]

Public Member Functions

 AllEnemyUnitsDestroyed ()
 
virtual void readData (tnstream &stream)
 
virtual void writeData (tnstream &stream)
 
ASCString getTypeName () const
 
ASCString getDetailledName () const
 
void setup ()
 
void arm ()
 
- 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 EventTrigger
GameMapgamemap
 
Eventevent
 

Detailed Description

Definition at line 321 of file gameevents.h.

Constructor & Destructor Documentation

AllEnemyUnitsDestroyed::AllEnemyUnitsDestroyed ( )
inline

Definition at line 327 of file gameevents.h.

Member Function Documentation

void AllEnemyUnitsDestroyed::arm ( )
virtual

Reimplemented from EventTrigger.

Definition at line 582 of file gameevents.cpp.

References ContainerBase::anyContainerConquered, and ContainerBase::anyContainerDestroyed.

ASCString AllEnemyUnitsDestroyed::getDetailledName ( ) const
virtual

Implements EventTrigger.

Definition at line 572 of file gameevents.cpp.

References getTypeName().

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

Implements EventTrigger.

Definition at line 577 of file gameevents.cpp.

Referenced by getDetailledName().

virtual void AllEnemyUnitsDestroyed::readData ( tnstream stream)
inlinevirtual

Implements EventTrigger.

Definition at line 329 of file gameevents.h.

References tnstream::readInt().

void AllEnemyUnitsDestroyed::setup ( void  )
inlinevirtual

Implements EventTrigger.

Definition at line 334 of file gameevents.h.

virtual void AllEnemyUnitsDestroyed::writeData ( tnstream stream)
inlinevirtual

Implements EventTrigger.

Definition at line 330 of file gameevents.h.

References tnstream::writeInt().


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