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

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 ()
 
- Public Member Functions inherited from SelectionItemFactory
virtual SelectionWidgetgetDefaultItem ()
 
virtual ~SelectionItemFactory ()
 

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

const VehicleType* AvailableProductionItemFactory::getSelectedVehicleType ( )
inline

Definition at line 465 of file edselfnt.cpp.

void AvailableProductionItemFactory::itemMarked ( const SelectionWidget widget)
inlinevirtual

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

Implements SelectionItemFactory.

Definition at line 460 of file edselfnt.cpp.

References itemMarked().

void AvailableProductionItemFactory::restart ( )
inlinevirtual

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

Implements SelectionItemFactory.

Definition at line 437 of file edselfnt.cpp.

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

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: