AvailableProductionItemFactory Class Reference

Inheritance diagram for AvailableProductionItemFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AvailableProductionItemFactory (ContainerBase *container_, ContainerBase::Production &prod)
void restart ()
SelectionWidgetspawnNextItem (PG_Widget *parent, const PG_Point &pos)
void itemMarked (const SelectionWidget *widget)
void itemSelected (const SelectionWidget *widget, bool mouse)
const VehicleTypegetSelectedVehicleType ()

Protected Attributes

ContainerBase::Production::const_iterator it
ContainerBase::Productionproduction

Detailed Description

Definition at line 418 of file edselfnt.cpp.


Constructor & Destructor Documentation

AvailableProductionItemFactory::AvailableProductionItemFactory ( ContainerBase container_,
ContainerBase::Production prod 
) [inline]

Definition at line 426 of file edselfnt.cpp.

References restart().


Member Function Documentation

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

Implements SelectionItemFactory.

Definition at line 431 of file edselfnt.cpp.

References it, and production.

Referenced by AvailableProductionItemFactory().

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

Implements SelectionItemFactory.

Definition at line 437 of file edselfnt.cpp.

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

void AvailableProductionItemFactory::itemMarked ( const SelectionWidget widget  )  [inline, virtual]

Reimplemented from SelectionItemFactory.

Definition at line 446 of file edselfnt.cpp.

References VehicleTypeBaseWidget::getVehicletype().

Referenced by itemSelected().

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

Implements SelectionItemFactory.

Definition at line 460 of file edselfnt.cpp.

References itemMarked().

const VehicleType* AvailableProductionItemFactory::getSelectedVehicleType (  )  [inline]

Definition at line 465 of file edselfnt.cpp.


Member Data Documentation

ContainerBase::Production::const_iterator AvailableProductionItemFactory::it [protected]

Definition at line 423 of file edselfnt.cpp.

Referenced by restart(), and spawnNextItem().

ContainerBase::Production& AvailableProductionItemFactory::production [protected]

Definition at line 424 of file edselfnt.cpp.

Referenced by restart(), and spawnNextItem().


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