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

Public Member Functions

 RefuelUnitCommand (CargoDialog &masterParent)
 
bool available (const MapCoordinate &pos, ContainerBase *subject, int num)
 
void execute (const MapCoordinate &pos, ContainerBase *subject, int num)
 
bool checkForKey (const SDL_KeyboardEvent *key, int modifier, int num)
 
SurfacegetImage (const MapCoordinate &pos, ContainerBase *subject, int num)
 
ASCString getName (const MapCoordinate &pos, ContainerBase *subject, int num)
 
- Public Member Functions inherited from GuiFunction
virtual ~GuiFunction ()
 

Detailed Description

Definition at line 218 of file cargodialog.cpp.

Constructor & Destructor Documentation

CargoGuiFunctions::RefuelUnitCommand::RefuelUnitCommand ( CargoDialog masterParent)
inline

Definition at line 222 of file cargodialog.cpp.

Member Function Documentation

bool CargoGuiFunctions::RefuelUnitCommand::available ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual

Implements GuiFunction.

Definition at line 2282 of file cargodialog.cpp.

References CargoDialog::getContainer(), and ServiceCommand::getDestinations().

bool CargoGuiFunctions::RefuelUnitCommand::checkForKey ( const SDL_KeyboardEvent *  key,
int  modifier,
int  num 
)
virtual

Reimplemented from GuiFunction.

Definition at line 2298 of file cargodialog.cpp.

void CargoGuiFunctions::RefuelUnitCommand::execute ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual
Surface & CargoGuiFunctions::RefuelUnitCommand::getImage ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual

Implements GuiFunction.

Definition at line 2303 of file cargodialog.cpp.

References IconRepository::getIcon().

ASCString CargoGuiFunctions::RefuelUnitCommand::getName ( const MapCoordinate pos,
ContainerBase subject,
int  num 
)
virtual

Implements GuiFunction.

Definition at line 2308 of file cargodialog.cpp.


The documentation for this class was generated from the following file: