#include <gameevents.h>
Inheritance diagram for AddProductionCapability:

Public Member Functions | |
| AddProductionCapability () | |
| void | readData (tnstream &stream) |
| void | writeData (tnstream &stream) |
| void | execute (MapDisplayInterface *md) |
| void | setup () |
| ASCString | getName () const |
Definition at line 702 of file gameevents.h.
| AddProductionCapability::AddProductionCapability | ( | ) | [inline] |
Definition at line 706 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::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] |
1.5.1