
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) |
| Surface & | getImage (const MapCoordinate &pos, ContainerBase *subject, int num) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
Definition at line 1213 of file guifunctions.cpp.
| bool GuiFunctions::PutMine::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1216 of file guifunctions.cpp.
References actmap, PutMineCommand::avail(), commandPending(), GameMap::getField(), and MapField::vehicle.
| bool GuiFunctions::PutMine::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
| void GuiFunctions::PutMine::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1228 of file guifunctions.cpp.
References MapField::a, actmap, GameMap::getField(), NewGuiHost::pendingCommand, ActionRegistry::PutMineCommand, repaintMap, ActionResult::successful(), updateFieldInfo, and MapField::vehicle.
| Surface& GuiFunctions::PutMine::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1248 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::PutMine::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1