* Sets whether the mouse is activated. * If it is, mouse events are processed, otherwise * they are ignored and the cursor is hidden. * @param active Is mouse activated? */
| 562 | * @param active Is mouse activated? |
| 563 | */ |
| 564 | void Game::setMouseActive(bool active) |
| 565 | { |
| 566 | _mouseActive = active; |
| 567 | _cursor->setVisible(active); |
| 568 | } |
| 569 | |
| 570 | /** |
| 571 | * Returns whether current state is *state |
nothing calls this directly
no test coverage detected