AddProductionLine_SelectionItemFactory Class Reference

#include <vehicleproductionselection.h>

Inheritance diagram for AddProductionLine_SelectionItemFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AddProductionLine_SelectionItemFactory (ContainerBase *my_plant, const Container &types)
void vehicleTypeSelected (const VehicleType *type, bool mouse)
Resources getCost (const VehicleType *type)

Detailed Description

Definition at line 61 of file vehicleproductionselection.h.


Constructor & Destructor Documentation

AddProductionLine_SelectionItemFactory::AddProductionLine_SelectionItemFactory ( ContainerBase my_plant,
const Container types 
)

Definition at line 120 of file vehicleproductionselection.cpp.


Member Function Documentation

void AddProductionLine_SelectionItemFactory::vehicleTypeSelected ( const VehicleType type,
bool  mouse 
) [virtual]

Reimplemented from VehicleTypeSelectionItemFactory.

Definition at line 125 of file vehicleproductionselection.cpp.

References ActionRegistry::BuildProductionLineCommand, createContext(), displayActionError(), and ActionResult::successful().

Resources AddProductionLine_SelectionItemFactory::getCost ( const VehicleType type  )  [virtual]

Reimplemented from VehicleTypeSelectionItemFactory.

Definition at line 136 of file vehicleproductionselection.cpp.

References ContainerBase::baseType, and BuildProductionLineCommand::resourcesNeeded().


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