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

Public Member Functions

 ActionFactory (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 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::itemSelected ( const SelectionWidget widget,
bool  mouse 
)
inlinevirtual
void ActionFactory::restart ( )
inlinevirtual

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 
)
inlinevirtual

Implements SelectionItemFactory.

Definition at line 83 of file actionmanager.cpp.

References ActionContainer::getActions().


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