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

Public Types

typedef vector< const
Technology * > 

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 * > 

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 

Implements SelectionItemFactory.

Definition at line 174 of file choosetech.cpp.

References TechWidget::getTechnology(), and techSelected.

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

Definition at line 129 of file choosetech.cpp.

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

Implements SelectionItemFactory.

Definition at line 163 of file choosetech.cpp.

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

Member Data Documentation

Container::iterator TechnologySelectionItemFactory::it

Definition at line 122 of file choosetech.cpp.

Referenced by restart(), and spawnNextItem().

Container TechnologySelectionItemFactory::items

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: