MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / mousePress

Method mousePress

src/Battlescape/Map.cpp:1119–1123  ·  view source on GitHub ↗

* Handles mouse presses on the map. * @param action Pointer to an action. * @param state State that the action handlers belong to. */

Source from the content-addressed store, hash-verified

1117 * @param state State that the action handlers belong to.
1118 */
1119void Map::mousePress(Action *action, State *state)
1120{
1121 InteractiveSurface::mousePress(action, state);
1122 _camera->mousePress(action, state);
1123}
1124
1125/**
1126 * Handles mouse releases on the map.

Callers 3

btnReserveClickMethod · 0.45
btnReserveKneelClickMethod · 0.45
btnZeroTUsClickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected