TaskFactory Class Reference

Inheritance diagram for TaskFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Definition at line 91 of file taskmanager.cpp.


Constructor & Destructor Documentation

TaskFactory::TaskFactory ( GameMap map  )  [inline]

Definition at line 96 of file taskmanager.cpp.

References restart(), and GameMap::tasks.


Member Function Documentation

void TaskFactory::restart (  )  [inline, virtual]

Implements SelectionItemFactory.

Definition at line 103 of file taskmanager.cpp.

References TaskContainer::pendingCommands.

Referenced by TaskFactory().

SelectionWidget* TaskFactory::spawnNextItem ( PG_Widget *  parent,
const PG_Point &  pos 
) [inline, virtual]

Implements SelectionItemFactory.

Definition at line 108 of file taskmanager.cpp.

References TaskContainer::pendingCommands.

void TaskFactory::itemSelected ( const SelectionWidget widget,
bool  mouse 
) [inline, virtual]

Implements SelectionItemFactory.

Definition at line 116 of file taskmanager.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:47:40 2012 for Advanced Strategic Command by  doxygen 1.5.1