
Public Member Functions | |
| ActionFactory (GameMap *map) | |
| void | restart () |
| SelectionWidget * | spawnNextItem (PG_Widget *parent, const PG_Point &pos) |
| void | itemSelected (const SelectionWidget *widget, bool mouse) |
Definition at line 67 of file actionmanager.cpp.
| ActionFactory::ActionFactory | ( | GameMap * | map | ) | [inline] |
| void ActionFactory::restart | ( | ) | [inline, virtual] |
Implements SelectionItemFactory.
Definition at line 78 of file actionmanager.cpp.
References ActionContainer::getActions().
Referenced by ActionFactory().
| SelectionWidget* ActionFactory::spawnNextItem | ( | PG_Widget * | parent, | |
| const PG_Point & | pos | |||
| ) | [inline, virtual] |
Implements SelectionItemFactory.
Definition at line 83 of file actionmanager.cpp.
References ActionContainer::getActions().
| void ActionFactory::itemSelected | ( | const SelectionWidget * | widget, | |
| bool | mouse | |||
| ) | [inline, virtual] |
Implements SelectionItemFactory.
Definition at line 91 of file actionmanager.cpp.
References MapDisplayPG::cursor, ActionWidget::getCoordinates(), getMainScreenWidget(), MainScreenWidget::getMapDisplay(), and MapDisplayPG::Cursor::goTo().
1.5.1