* Returns the absolute Y position of the * mouse cursor relative to the game window, * corrected for screen scaling. * @return Mouse's absolute X position. */
| 141 | * @return Mouse's absolute X position. |
| 142 | */ |
| 143 | double Action::getAbsoluteYMouse() const |
| 144 | { |
| 145 | if (_mouseY == -1) |
| 146 | return -1; |
| 147 | return _mouseY / _scaleY; |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * Returns the relative X position of the |
no outgoing calls
no test coverage detected