ActionFactory Class Reference

Inheritance diagram for ActionFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ActionFactory (GameMap *map)
void restart ()
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
void itemSelected (const SelectionWidget *widget, bool mouse)

Detailed Description

Definition at line 67 of file actionmanager.cpp.


Constructor & Destructor Documentation

ActionFactory::ActionFactory ( GameMap map  )  [inline]

Definition at line 72 of file actionmanager.cpp.

References restart().


Member Function Documentation

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().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:46:12 2012 for Advanced Strategic Command by  doxygen 1.5.1