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

Detailed Description

Definition at line 702 of file gameevents.h.


Constructor & Destructor Documentation

AddProductionCapability::AddProductionCapability (  )  [inline]

Definition at line 706 of file gameevents.h.


Member Function Documentation

void AddProductionCapability::readData ( tnstream stream  )  [virtual]

Implements EventAction.

Definition at line 1549 of file gameevents.cpp.

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

void AddProductionCapability::writeData ( tnstream stream  )  [virtual]

Implements EventAction.

Definition at line 1557 of file gameevents.cpp.

References MapCoordinate::write(), and tnstream::writeInt().

void AddProductionCapability::execute ( MapDisplayInterface md  )  [virtual]

Implements EventAction.

Definition at line 1571 of file gameevents.cpp.

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

void AddProductionCapability::setup (  )  [virtual]

Implements EventAction.

Definition at line 1565 of file gameevents.cpp.

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

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

Implements EventAction.

Definition at line 714 of file gameevents.h.


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