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

#include <gameevents.h>

Inheritance diagram for AddProductionCapability:
Inheritance graph
[legend]

Public Member Functions

 AddProductionCapability ()
 
void readData (tnstream &stream)
 
void writeData (tnstream &stream)
 
void execute (MapDisplayInterface *md)
 
void setup ()
 
ASCString getName () const
 
- Public Member Functions inherited from EventAction
virtual ASCString getLocalizationString () const
 
virtual void setLocalizationString (const ASCString &s)
 
void setMap (GameMap *gamemap_)
 
EventActionID getActionID ()
 
virtual ~EventAction ()
 

Additional Inherited Members

- Protected Member Functions inherited from EventAction
 EventAction (EventActionID id)
 
- Protected Attributes inherited from EventAction
GameMapgamemap
 

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::execute ( MapDisplayInterface md)
virtual
ASCString AddProductionCapability::getName ( ) const
inlinevirtual

Implements EventAction.

Definition at line 714 of file gameevents.h.

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::setup ( void  )
virtual

Implements EventAction.

Definition at line 1565 of file gameevents.cpp.

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

void AddProductionCapability::writeData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 1557 of file gameevents.cpp.

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


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