
Public Types | |
| typedef vector< Vehicle * > | Container |
Public Member Functions | |
| VehicleSelectionFactory (Container &units) | |
| void | restart () |
| SelectionWidget * | spawnNextItem (PG_Widget *parent, const PG_Point &pos) |
| void | itemSelected (const SelectionWidget *widget, bool mouse) |
Public Attributes | |
| Vehicle * | selected |
Protected Attributes | |
| Container::iterator | it |
| Container & | items |
Definition at line 2626 of file cargodialog.cpp.
Definition at line 2629 of file cargodialog.cpp.
| CargoGuiFunctions::VehicleSelectionFactory::VehicleSelectionFactory | ( | Container & | units | ) | [inline] |
Definition at line 2635 of file cargodialog.cpp.
| void CargoGuiFunctions::VehicleSelectionFactory::restart | ( | ) | [inline, virtual] |
| SelectionWidget* CargoGuiFunctions::VehicleSelectionFactory::spawnNextItem | ( | PG_Widget * | parent, | |
| const PG_Point & | pos | |||
| ) | [inline, virtual] |
| void CargoGuiFunctions::VehicleSelectionFactory::itemSelected | ( | const SelectionWidget * | widget, | |
| bool | mouse | |||
| ) | [inline, virtual] |
Implements SelectionItemFactory.
Definition at line 2648 of file cargodialog.cpp.
References CargoGuiFunctions::VehicleWidget::getUnit(), and selected.
Container::iterator CargoGuiFunctions::VehicleSelectionFactory::it [protected] |
Definition at line 2657 of file cargodialog.cpp.
Referenced by itemSelected(), and CargoGuiFunctions::selectVehicle().
1.5.1