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

Public Types

typedef list< const VehicleType * > UnitList
 

Public Member Functions

 UnitListFactory (const UnitList &units)
 
void restart ()
 
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
 
- Public Member Functions inherited from SelectionItemFactory
virtual void itemMarked (const SelectionWidget *widget)
 
virtual SelectionWidgetgetDefaultItem ()
 
virtual ~SelectionItemFactory ()
 

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

Implements SelectionItemFactory.

Definition at line 353 of file gameevent_dialogs.cpp.

void UnitListFactory::restart ( )
inlinevirtual

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

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: