mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-31 01:25:21 +00:00
hide cursor ingame
This commit is contained in:
@@ -75,6 +75,7 @@ namespace BBM
|
||||
return;
|
||||
if (gameState.nextScene == GameState::SceneID::ScoreScene)
|
||||
gameState._loadedScenes[GameState::SceneID::ScoreScene] = Runner::loadScoreScene(*engine.getScene());
|
||||
RAY::Window::getInstance().setVisibleCursor(gameState.nextScene != GameState::SceneID::GameScene);
|
||||
gameState._loadedScenes[gameState.currentScene] = engine.getScene();
|
||||
engine.changeScene(gameState._loadedScenes[gameState.nextScene]);
|
||||
gameState.currentScene = gameState.nextScene;
|
||||
|
||||
Reference in New Issue
Block a user