* Returns the absolute X position of the * mouse cursor relative to the game window, * corrected for screen scaling. * @return Mouse's absolute X position. */
| 128 | * @return Mouse's absolute X position. |
| 129 | */ |
| 130 | double Action::getAbsoluteXMouse() const |
| 131 | { |
| 132 | if (_mouseX == -1) |
| 133 | return -1; |
| 134 | return _mouseX / _scaleX; |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * Returns the absolute Y position of the |
no outgoing calls
no test coverage detected