Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Reinforcements Class Reference

#include <gameevents.h>

Inheritance diagram for Reinforcements:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Reinforcements ()
void readData (tnstream &stream)
void writeData (tnstream &stream)
void execute (MapDisplayInterface *md)
void setup ()
ASCString getName () const

Friends

class ReinforcementSelector

Constructor & Destructor Documentation

Reinforcements::Reinforcements  )  [inline]
 

Definition at line 768 of file gameevents.h.


Member Function Documentation

void Reinforcements::execute MapDisplayInterface md  )  [virtual]
 

Implements EventAction.

Definition at line 1801 of file gameevents.cpp.

References Building::addview(), tfield::building, Building::chainbuildingtofield(), displaymessage(), evaluateviewcalculation(), EventAction::gamemap, BuildingType::getFieldCoordinate(), ASCmsgException::getMessage(), Building::getPosition(), Building::newFromStream(), Vehicle::newFromStream(), tnstream::reading, tnstream::readInt(), Building::typ, and tfield::vehicle.

Referenced by setup().

ASCString Reinforcements::getName  )  const [inline, virtual]
 

Implements EventAction.

Definition at line 776 of file gameevents.h.

void Reinforcements::readData tnstream stream  )  [virtual]
 

Implements EventAction.

Definition at line 1734 of file gameevents.cpp.

References tmemorystreambuf::readfromstream(), tnstream::readInt(), and versionTest().

void Reinforcements::setup  )  [virtual]
 

Implements EventAction.

Definition at line 1750 of file gameevents.cpp.

References chooseString(), tmemorystreambuf::clear(), execute(), EventAction::gamemap, ASC_PG_Dialog::RunModal(), and SelectFromMap::Show().

void Reinforcements::writeData tnstream stream  )  [virtual]
 

Implements EventAction.

Definition at line 1742 of file gameevents.cpp.

References tmemorystreambuf::writetostream().


Friends And Related Function Documentation

friend class ReinforcementSelector [friend]
 

Definition at line 765 of file gameevents.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:20:11 2008 for Advanced Strategic Command by  doxygen 1.4.2