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

#include <gameevents.h>

Inheritance diagram for BuildingLost:
Inheritance graph
[legend]

Public Member Functions

 BuildingLost ()
 
 BuildingLost (const MapCoordinate &position)
 
ASCString getTypeName () const
 
ASCString getDetailledName () const
 
void arm ()
 
- Public Member Functions inherited from BuildingConquered
 BuildingConquered ()
 
 BuildingConquered (const MapCoordinate &position)
 
void triggered ()
 
- Public Member Functions inherited from BuildingPositionTrigger
ASCString getName () const
 
void setup ()
 
- Public Member Functions inherited from PositionTrigger
virtual void readData (tnstream &stream)
 
virtual void writeData (tnstream &stream)
 
- 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 BuildingConquered
 BuildingConquered (EventTriggerID id)
 
- Protected Member Functions inherited from BuildingPositionTrigger
 BuildingPositionTrigger (EventTriggerID id)
 
- Protected Member Functions inherited from PositionTrigger
 PositionTrigger (EventTriggerID id)
 
- 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 PositionTrigger
MapCoordinate pos
 
- Protected Attributes inherited from EventTrigger
GameMapgamemap
 
Eventevent
 

Detailed Description

Definition at line 270 of file gameevents.h.

Constructor & Destructor Documentation

BuildingLost::BuildingLost ( )
inline

Definition at line 274 of file gameevents.h.

BuildingLost::BuildingLost ( const MapCoordinate position)
inline

Definition at line 275 of file gameevents.h.

Member Function Documentation

void BuildingLost::arm ( )
virtual
ASCString BuildingLost::getDetailledName ( ) const
inlinevirtual

Reimplemented from BuildingConquered.

Definition at line 277 of file gameevents.h.

References BuildingPositionTrigger::getName().

EventTrigger::State BuildingLost::getState ( int  player)
protectedvirtual
ASCString BuildingLost::getTypeName ( ) const
inlinevirtual

Reimplemented from BuildingConquered.

Definition at line 276 of file gameevents.h.


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