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

CargoItemFactory Class Reference

Inheritance diagram for CargoItemFactory:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 CargoItemFactory (ContainerBase *container_)
void itemSelected (const SelectionWidget *widget, bool mouse)

Protected Member Functions

bool isFiltered (const ItemType &item)

Constructor & Destructor Documentation

CargoItemFactory::CargoItemFactory ContainerBase container_  )  [inline]
 

Definition at line 315 of file edselfnt.cpp.


Member Function Documentation

bool CargoItemFactory::isFiltered const ItemType item  )  [inline, protected, virtual]
 

Reimplemented from BaseMapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >.

Definition at line 299 of file edselfnt.cpp.

References actmap, ContainerBase::baseType, ContainerBase::getOwner(), BaseMapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >::isFiltered(), ContainerBase::vehicleFit(), and ContainerBaseType::vehicleFit().

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

Reimplemented from MapItemTypeWidgetFactory< MapItemTypeWidget< Vehicletype > >.

Definition at line 317 of file edselfnt.cpp.

References actmap, ContainerBase::addToCargo(), assert, displaymessage(), Vehicle::fillMagically(), Resources::fuel, ContainerBase::getOwner(), ContainerBase::getPosition(), ContainerBase::getStorageCapacity(), Resources::material, Vehicle::setnewposition(), Vehicle::tank, and ContainerBase::vehicleFit().


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