BuildingPositionTrigger Class Reference

#include <gameevents.h>

Inheritance diagram for BuildingPositionTrigger:

Inheritance graph
[legend]
List of all members.

Public Member Functions

ASCString getName () const
void setup ()

Protected Member Functions

 BuildingPositionTrigger (EventTriggerID id)

Detailed Description

Definition at line 248 of file gameevents.h.


Constructor & Destructor Documentation

BuildingPositionTrigger::BuildingPositionTrigger ( EventTriggerID  id  )  [inline, protected]

Definition at line 250 of file gameevents.h.


Member Function Documentation

ASCString BuildingPositionTrigger::getName (  )  const

Definition at line 138 of file gameevents.cpp.

References MapField::building, EventTrigger::gamemap, GameMap::getField(), Building::getName(), and PositionTrigger::pos.

Referenced by BuildingSeen::getDetailledName(), BuildingDestroyed::getDetailledName(), BuildingLost::getDetailledName(), and BuildingConquered::getDetailledName().

void BuildingPositionTrigger::setup (  )  [virtual]

Implements EventTrigger.

Definition at line 150 of file gameevents.cpp.

References getxy_building(), PositionTrigger::pos, MapCoordinate::x, and MapCoordinate::y.


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:25 2012 for Advanced Strategic Command by  doxygen 1.5.1