Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
GuiFunctions::BuildingConstructionSelection Class Reference
Inheritance diagram for GuiFunctions::BuildingConstructionSelection:
Inheritance graph

Public Member Functions

 BuildingConstructionSelection (Resources plantResources, const Container &types, const Player &player)
const BuildingTypegetSelectedType ()
- Public Member Functions inherited from BuildingTypeSelectionItemFactory
 BuildingTypeSelectionItemFactory (Resources plantResources, const Container &types, const Player &player)
void restart ()
void setAvailableResource (const Resources &plantResources)
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
void itemSelected (const SelectionWidget *widget, bool mouse)
- Public Member Functions inherited from SelectionItemFactory
virtual void itemMarked (const SelectionWidget *widget)
virtual SelectionWidgetgetDefaultItem ()
virtual ~SelectionItemFactory ()

Protected Member Functions

void BuildingTypeSelected (const BuildingType *type)
- Protected Member Functions inherited from BuildingTypeSelectionItemFactory
virtual Resources getCost (const BuildingType *type)

Additional Inherited Members

- Public Types inherited from BuildingTypeSelectionItemFactory
typedef vector< const
BuildingType * > 
- Public Attributes inherited from BuildingTypeSelectionItemFactory
sigc::signal< void > reloadAllItems
- Protected Attributes inherited from BuildingTypeSelectionItemFactory
Container::iterator it
Container items

Detailed Description

Definition at line 1845 of file guifunctions.cpp.

Constructor & Destructor Documentation

GuiFunctions::BuildingConstructionSelection::BuildingConstructionSelection ( Resources  plantResources,
const Container types,
const Player player 

Definition at line 1854 of file guifunctions.cpp.

Member Function Documentation

void GuiFunctions::BuildingConstructionSelection::BuildingTypeSelected ( const BuildingType type)

Implements BuildingTypeSelectionItemFactory.

Definition at line 1850 of file guifunctions.cpp.

const BuildingType* GuiFunctions::BuildingConstructionSelection::getSelectedType ( )

Definition at line 1855 of file guifunctions.cpp.

Referenced by GuiFunctions::ConstructBuilding::execute().

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