* Processes mouse-hover event for base placement, * @param action Pointer to an action. */
| 192 | * @param action Pointer to an action. |
| 193 | */ |
| 194 | void BuildNewBaseState::globeHover(Action *action) |
| 195 | { |
| 196 | _mousex = (int)floor(action->getAbsoluteXMouse()); |
| 197 | _mousey = (int)floor(action->getAbsoluteYMouse()); |
| 198 | if (!_hoverTimer->isRunning()) _hoverTimer->start(); |
| 199 | } |
| 200 | |
| 201 | void BuildNewBaseState::hoverRedraw(void) |
| 202 | { |
nothing calls this directly
no test coverage detected