Game Development Reference
In-Depth Information
Disabling the mouse cursor
The
Window
class has a method which sets cursor visibility on or off—
Win-
dow::setMouseCursorVisible()
. This is useful for games that don't use a cursor,
or when we want to change the image of the cursor to something different to the default.