* Handles mouse over events on the map. * @param action Pointer to an action. * @param state State that the action handlers belong to. */
| 1161 | * @param state State that the action handlers belong to. |
| 1162 | */ |
| 1163 | void Map::mouseOver(Action *action, State *state) |
| 1164 | { |
| 1165 | InteractiveSurface::mouseOver(action, state); |
| 1166 | _camera->mouseOver(action, state); |
| 1167 | _mouseX = (int)action->getAbsoluteXMouse(); |
| 1168 | _mouseY = (int)action->getAbsoluteYMouse(); |
| 1169 | setSelectorPosition(_mouseX, _mouseY); |
| 1170 | } |
| 1171 | |
| 1172 | |
| 1173 | /** |
nothing calls this directly
no test coverage detected