UnitListFactory Class Reference

Inheritance diagram for UnitListFactory:

Inheritance graph
[legend]
List of all members.

Public Types

typedef list< const VehicleType * > UnitList

Public Member Functions

 UnitListFactory (const UnitList &units)
void restart ()
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)

Protected Member Functions

void itemSelected (const SelectionWidget *widget, bool mouse)

Protected Attributes

UnitList::const_iterator it

Detailed Description

Definition at line 346 of file gameevent_dialogs.cpp.


Member Typedef Documentation

typedef list<const VehicleType*> UnitListFactory::UnitList

Definition at line 348 of file gameevent_dialogs.cpp.


Constructor & Destructor Documentation

UnitListFactory::UnitListFactory ( const UnitList units  )  [inline]

Definition at line 357 of file gameevent_dialogs.cpp.

References restart().


Member Function Documentation

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

Implements SelectionItemFactory.

Definition at line 353 of file gameevent_dialogs.cpp.

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

Implements SelectionItemFactory.

Definition at line 362 of file gameevent_dialogs.cpp.

References it.

Referenced by UnitListFactory().

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

Implements SelectionItemFactory.

Definition at line 367 of file gameevent_dialogs.cpp.

References actmap, GameMap::getCurrentPlayer(), and it.


Member Data Documentation

UnitList::const_iterator UnitListFactory::it [protected]

Definition at line 352 of file gameevent_dialogs.cpp.

Referenced by restart(), and spawnNextItem().


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