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

AddProductionCapability Class Reference

#include <gameevents.h>

Inheritance diagram for AddProductionCapability:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

AddProductionCapability::AddProductionCapability  )  [inline]
 

Definition at line 699 of file gameevents.h.


Member Function Documentation

void AddProductionCapability::execute MapDisplayInterface md  )  [virtual]
 

Implements EventAction.

Definition at line 1541 of file gameevents.cpp.

References ContainerBase::addProductionLine(), tfield::building, EventAction::gamemap, GameMap::getField(), and GameMap::getvehicletype_byid().

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

Implements EventAction.

Definition at line 707 of file gameevents.h.

void AddProductionCapability::readData tnstream stream  )  [virtual]
 

Implements EventAction.

Definition at line 1519 of file gameevents.cpp.

References MapCoordinate::read(), tnstream::readInt(), and versionTest().

void AddProductionCapability::setup  )  [virtual]
 

Implements EventAction.

Definition at line 1535 of file gameevents.cpp.

References chooseVehicleType(), getxy_building(), MapCoordinate::x, and MapCoordinate::y.

void AddProductionCapability::writeData tnstream stream  )  [virtual]
 

Implements EventAction.

Definition at line 1527 of file gameevents.cpp.

References MapCoordinate::write().


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