
Public Member Functions | |
| AvailableProductionItemFactory (ContainerBase *container_, ContainerBase::Production &prod) | |
| void | restart () |
| SelectionWidget * | spawnNextItem (PG_Widget *parent, const PG_Point &pos) |
| void | itemMarked (const SelectionWidget *widget) |
| void | itemSelected (const SelectionWidget *widget, bool mouse) |
| const VehicleType * | getSelectedVehicleType () |
Protected Attributes | |
| ContainerBase::Production::const_iterator | it |
| ContainerBase::Production & | production |
Definition at line 418 of file edselfnt.cpp.
| AvailableProductionItemFactory::AvailableProductionItemFactory | ( | ContainerBase * | container_, | |
| ContainerBase::Production & | prod | |||
| ) | [inline] |
| void AvailableProductionItemFactory::restart | ( | ) | [inline, virtual] |
Implements SelectionItemFactory.
Definition at line 431 of file edselfnt.cpp.
References it, and production.
Referenced by AvailableProductionItemFactory().
| SelectionWidget* AvailableProductionItemFactory::spawnNextItem | ( | PG_Widget * | parent, | |
| const PG_Point & | pos | |||
| ) | [inline, virtual] |
Implements SelectionItemFactory.
Definition at line 437 of file edselfnt.cpp.
References actmap, GameMap::getCurrentPlayer(), it, and production.
| void AvailableProductionItemFactory::itemMarked | ( | const SelectionWidget * | widget | ) | [inline, virtual] |
Reimplemented from SelectionItemFactory.
Definition at line 446 of file edselfnt.cpp.
References VehicleTypeBaseWidget::getVehicletype().
Referenced by itemSelected().
| void AvailableProductionItemFactory::itemSelected | ( | const SelectionWidget * | widget, | |
| bool | mouse | |||
| ) | [inline, virtual] |
Implements SelectionItemFactory.
Definition at line 460 of file edselfnt.cpp.
References itemMarked().
| const VehicleType* AvailableProductionItemFactory::getSelectedVehicleType | ( | ) | [inline] |
Definition at line 465 of file edselfnt.cpp.
ContainerBase::Production::const_iterator AvailableProductionItemFactory::it [protected] |
1.5.1