GuiFunctions::RefuelUnitDialogCommand Class Reference

Inheritance diagram for GuiFunctions::RefuelUnitDialogCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool available (const MapCoordinate &pos, ContainerBase *subject, int num)
bool checkForKey (const SDL_KeyboardEvent *key, int modifier, int num)
void execute (const MapCoordinate &pos, ContainerBase *subject, int num)
SurfacegetImage (const MapCoordinate &pos, ContainerBase *subject, int num)
ASCString getName (const MapCoordinate &pos, ContainerBase *subject, int num)

Detailed Description

Definition at line 1169 of file guifunctions.cpp.


Member Function Documentation

bool GuiFunctions::RefuelUnitDialogCommand::available ( const MapCoordinate pos,
ContainerBase subject,
int  num 
) [inline, virtual]

Implements GuiFunction.

Definition at line 1172 of file guifunctions.cpp.

References actmap, ContainerCommand::getContainer(), ServiceCommand::getDestinations(), GameMap::getField(), and NewGuiHost::pendingCommand.

bool GuiFunctions::RefuelUnitDialogCommand::checkForKey ( const SDL_KeyboardEvent *  key,
int  modifier,
int  num 
) [inline, virtual]

Reimplemented from GuiFunction.

Definition at line 1183 of file guifunctions.cpp.

void GuiFunctions::RefuelUnitDialogCommand::execute ( const MapCoordinate pos,
ContainerBase subject,
int  num 
) [inline, virtual]

Implements GuiFunction.

Definition at line 1187 of file guifunctions.cpp.

References actmap, ammoTransferWindow(), GameMap::cleartemps(), displaymap(), Command::Finished, MapField::getContainer(), GameMap::getField(), ServiceCommand::getRefueller(), Command::getState(), NewGuiHost::pendingCommand, ServiceCommand::setDestination(), and updateFieldInfo.

Surface& GuiFunctions::RefuelUnitDialogCommand::getImage ( const MapCoordinate pos,
ContainerBase subject,
int  num 
) [inline, virtual]

Implements GuiFunction.

Definition at line 1202 of file guifunctions.cpp.

References IconRepository::getIcon().

ASCString GuiFunctions::RefuelUnitDialogCommand::getName ( const MapCoordinate pos,
ContainerBase subject,
int  num 
) [inline, virtual]

Implements GuiFunction.

Definition at line 1206 of file guifunctions.cpp.


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