#include <buildingtypeselector.h>
Inheritance diagram for BuildingTypeSelectionItemFactory:

Public Types | |
| typedef vector< const BuildingType * > | Container |
Public Member Functions | |
| BuildingTypeSelectionItemFactory (Resources plantResources, const Container &types, const Player &player) | |
| void | restart () |
| void | setAvailableResource (const Resources &plantResources) |
| SelectionWidget * | spawnNextItem (PG_Widget *parent, const PG_Point &pos) |
| void | itemSelected (const SelectionWidget *widget, bool mouse) |
Public Attributes | |
| SigC::Signal0< void > | reloadAllItems |
Protected Member Functions | |
| virtual void | BuildingTypeSelected (const BuildingType *type)=0 |
| virtual Resources | getCost (const BuildingType *type) |
Protected Attributes | |
| Container::iterator | it |
| Container | items |
|
|
Definition at line 61 of file buildingtypeselector.h. |
|
||||||||||||||||
|
Definition at line 130 of file buildingtypeselector.cpp. References restart(), and setAvailableResource(). |
|
|
Implemented in GuiFunctions::BuildingConstructionSelection. Referenced by itemSelected(). |
|
|
Definition at line 169 of file buildingtypeselector.cpp. References ContainerBaseType::productionCost. Referenced by spawnNextItem(). |
|
||||||||||||
|
Implements SelectionItemFactory. Definition at line 176 of file buildingtypeselector.cpp. References assert, and BuildingTypeSelected(). |
|
|
Implements SelectionItemFactory. Definition at line 146 of file buildingtypeselector.cpp. References BuildingComp(), it, and items. Referenced by BuildingTypeSelectionItemFactory(). |
|
|
Definition at line 81 of file buildingtypeselector.h. Referenced by BuildingTypeSelectionItemFactory(). |
|
||||||||||||
|
Implements SelectionItemFactory. Definition at line 154 of file buildingtypeselector.cpp. References getCost(), it, items, and Resources::resource(). |
|
|
Definition at line 64 of file buildingtypeselector.h. Referenced by restart(), and spawnNextItem(). |
|
|
Definition at line 65 of file buildingtypeselector.h. Referenced by restart(), and spawnNextItem(). |
|
|
Definition at line 77 of file buildingtypeselector.h. |
1.4.2