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

#include <gameevents.h>

Inheritance diagram for AllEnemyBuildingsDestroyed:
Inheritance graph
[legend]

Public Member Functions

 AllEnemyBuildingsDestroyed ()
 
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 338 of file gameevents.h.

Constructor & Destructor Documentation

AllEnemyBuildingsDestroyed::AllEnemyBuildingsDestroyed ( )
inline

Definition at line 344 of file gameevents.h.

Member Function Documentation

void AllEnemyBuildingsDestroyed::arm ( )
virtual

Reimplemented from EventTrigger.

Definition at line 617 of file gameevents.cpp.

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

ASCString AllEnemyBuildingsDestroyed::getDetailledName ( ) const
virtual

Implements EventTrigger.

Definition at line 610 of file gameevents.cpp.

References getTypeName().

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

Implements EventTrigger.

Definition at line 605 of file gameevents.cpp.

Referenced by getDetailledName().

virtual void AllEnemyBuildingsDestroyed::readData ( tnstream stream)
inlinevirtual

Implements EventTrigger.

Definition at line 346 of file gameevents.h.

References tnstream::readInt().

void AllEnemyBuildingsDestroyed::setup ( void  )
inlinevirtual

Implements EventTrigger.

Definition at line 350 of file gameevents.h.

virtual void AllEnemyBuildingsDestroyed::writeData ( tnstream stream)
inlinevirtual

Implements EventTrigger.

Definition at line 347 of file gameevents.h.

References tnstream::writeInt().


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