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

Public Types

typedef vector< const
Technology * > 
Container
 

Public Member Functions

 TechnologySelectionItemFactory (Player &player)
 
bool showAllTechs (bool all)
 
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 ()
 

Public Attributes

sigc::signal< void, const
Technology * > 
techSelected
 

Protected Attributes

Container::iterator it
 
Container items
 

Detailed Description

Definition at line 115 of file choosetech.cpp.

Member Typedef Documentation

Definition at line 119 of file choosetech.cpp.

Constructor & Destructor Documentation

TechnologySelectionItemFactory::TechnologySelectionItemFactory ( Player player)

Definition at line 141 of file choosetech.cpp.

References restart().

Member Function Documentation

void TechnologySelectionItemFactory::itemSelected ( const SelectionWidget widget,
bool  mouse 
)
virtual

Implements SelectionItemFactory.

Definition at line 174 of file choosetech.cpp.

References TechWidget::getTechnology(), and techSelected.

void TechnologySelectionItemFactory::restart ( )
virtual
bool TechnologySelectionItemFactory::showAllTechs ( bool  all)
inline

Definition at line 129 of file choosetech.cpp.

SelectionWidget * TechnologySelectionItemFactory::spawnNextItem ( PG_Widget *  parent,
const PG_Point &  pos 
)
virtual

Implements SelectionItemFactory.

Definition at line 163 of file choosetech.cpp.

References Player::getPosition(), it, and items.

Member Data Documentation

Container::iterator TechnologySelectionItemFactory::it
protected

Definition at line 122 of file choosetech.cpp.

Referenced by restart(), and spawnNextItem().

Container TechnologySelectionItemFactory::items
protected

Definition at line 123 of file choosetech.cpp.

Referenced by restart(), and spawnNextItem().

sigc::signal<void,const Technology*> TechnologySelectionItemFactory::techSelected

Definition at line 132 of file choosetech.cpp.

Referenced by ChooseTech::ChooseTech(), and itemSelected().


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