Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

Constructor & Destructor Documentation

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

Definition at line 419 of file edselfnt.cpp.

References restart().


Member Function Documentation

const Vehicletype* AvailableProductionItemFactory::getSelectedVehicleType  )  [inline]
 

Definition at line 458 of file edselfnt.cpp.

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

Reimplemented from SelectionItemFactory.

Definition at line 439 of file edselfnt.cpp.

References assert.

Referenced by itemSelected().

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

Implements SelectionItemFactory.

Definition at line 453 of file edselfnt.cpp.

References itemMarked().

void AvailableProductionItemFactory::restart  )  [inline, virtual]
 

Implements SelectionItemFactory.

Definition at line 424 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 430 of file edselfnt.cpp.

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


Member Data Documentation

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

Definition at line 416 of file edselfnt.cpp.

Referenced by restart(), and spawnNextItem().

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

Definition at line 417 of file edselfnt.cpp.

Referenced by restart(), and spawnNextItem().


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:16:19 2008 for Advanced Strategic Command by  doxygen 1.4.2