
Public Member Functions | |
| MoveUnitUp (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) |
| Surface & | getImage (const MapCoordinate &pos, ContainerBase *subject, int num) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
Definition at line 252 of file cargodialog.cpp.
| CargoGuiFunctions::MoveUnitUp::MoveUnitUp | ( | CargoDialog & | masterParent | ) | [inline] |
Definition at line 256 of file cargodialog.cpp.
| bool CargoGuiFunctions::MoveUnitUp::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2399 of file cargodialog.cpp.
References CargoMoveCommand::moveOutAvail().
| void CargoGuiFunctions::MoveUnitUp::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2428 of file cargodialog.cpp.
References CargoDialog::cargoChanged(), ActionRegistry::CargoMoveCommand, createContext(), CargoMoveCommand::moveOutwards, and ActionResult::successful().
| bool CargoGuiFunctions::MoveUnitUp::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [virtual] |
| Surface & CargoGuiFunctions::MoveUnitUp::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 2417 of file cargodialog.cpp.
References IconRepository::getIcon().
| ASCString CargoGuiFunctions::MoveUnitUp::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
1.5.1