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

#include <gameevents.h>

Inheritance diagram for BuildingDestroyed:
Inheritance graph
[legend]

Public Member Functions

 BuildingDestroyed ()
 
 BuildingDestroyed (const MapCoordinate &position)
 
ASCString getTypeName () const
 
ASCString getDetailledName () const
 
- 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...
 
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 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 281 of file gameevents.h.

Constructor & Destructor Documentation

BuildingDestroyed::BuildingDestroyed ( )
inline

Definition at line 285 of file gameevents.h.

BuildingDestroyed::BuildingDestroyed ( const MapCoordinate position)
inline

Definition at line 286 of file gameevents.h.

References PositionTrigger::pos.

Member Function Documentation

ASCString BuildingDestroyed::getDetailledName ( ) const
inlinevirtual

Implements EventTrigger.

Definition at line 288 of file gameevents.h.

References BuildingPositionTrigger::getName().

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

Implements EventTrigger.

Definition at line 287 of file gameevents.h.


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