
Public Types | |
| typedef vector< const Technology * > | Container |
Public Member Functions | |
| TechnologySelectionItemFactory (Player &player) | |
| bool | showAllTechs (bool all) |
| void | restart () |
| SelectionWidget * | spawnNextItem (PG_Widget *parent, const PG_Point &pos) |
| void | itemSelected (const SelectionWidget *widget, bool mouse) |
Public Attributes | |
| SigC::Signal1< void, const Technology * > | techSelected |
Protected Attributes | |
| Container::iterator | it |
| Container | items |
Definition at line 115 of file choosetech.cpp.
| typedef vector<const Technology*> TechnologySelectionItemFactory::Container |
Definition at line 119 of file choosetech.cpp.
| TechnologySelectionItemFactory::TechnologySelectionItemFactory | ( | Player & | player | ) |
| bool TechnologySelectionItemFactory::showAllTechs | ( | bool | all | ) | [inline] |
Definition at line 129 of file choosetech.cpp.
| void TechnologySelectionItemFactory::restart | ( | ) | [virtual] |
Implements SelectionItemFactory.
Definition at line 153 of file choosetech.cpp.
References DirectResearchCommand::getAvailableTechnologies(), it, items, and techComp().
Referenced by TechnologySelectionItemFactory().
| SelectionWidget * TechnologySelectionItemFactory::spawnNextItem | ( | PG_Widget * | parent, | |
| const PG_Point & | pos | |||
| ) | [virtual] |
Implements SelectionItemFactory.
Definition at line 163 of file choosetech.cpp.
References Player::getPosition(), it, and items.
| void TechnologySelectionItemFactory::itemSelected | ( | const SelectionWidget * | widget, | |
| bool | mouse | |||
| ) | [virtual] |
Implements SelectionItemFactory.
Definition at line 174 of file choosetech.cpp.
References TechWidget::getTechnology(), and techSelected.
Container::iterator TechnologySelectionItemFactory::it [protected] |
Container TechnologySelectionItemFactory::items [protected] |
| SigC::Signal1<void,const Technology*> TechnologySelectionItemFactory::techSelected |
Definition at line 132 of file choosetech.cpp.
Referenced by ChooseTech::ChooseTech(), and itemSelected().
1.5.1