Advanced Strategic Command
Public Member Functions | List of all members
TaskFactory Class Reference
Inheritance diagram for TaskFactory:
Inheritance graph
[legend]

Public Member Functions

 TaskFactory (GameMap *map)
 
void restart ()
 
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
 
void itemSelected (const SelectionWidget *widget, bool mouse)
 
- Public Member Functions inherited from SelectionItemFactory
virtual void itemMarked (const SelectionWidget *widget)
 
virtual SelectionWidgetgetDefaultItem ()
 
virtual ~SelectionItemFactory ()
 

Detailed Description

Definition at line 92 of file taskmanager.cpp.

Constructor & Destructor Documentation

TaskFactory::TaskFactory ( GameMap map)
inline

Definition at line 97 of file taskmanager.cpp.

References restart(), and GameMap::tasks.

Member Function Documentation

void TaskFactory::itemSelected ( const SelectionWidget widget,
bool  mouse 
)
inlinevirtual
void TaskFactory::restart ( )
inlinevirtual

Implements SelectionItemFactory.

Definition at line 104 of file taskmanager.cpp.

References TaskContainer::pendingCommands.

Referenced by TaskFactory().

SelectionWidget* TaskFactory::spawnNextItem ( PG_Widget *  parent,
const PG_Point &  pos 
)
inlinevirtual

Implements SelectionItemFactory.

Definition at line 109 of file taskmanager.cpp.

References TaskContainer::pendingCommands.


The documentation for this class was generated from the following file: