public static string GetNameFromScene(HexenScene scene) { switch (scene) { case HexenScene.GameScene: return("GameScene"); default: return("StartMenuScene"); } }
private void HandleSceneChange(HexenScene scene) { _currentScene = scene; switch (scene) { case HexenScene.StartMenuScene: ResetGame(); break; case HexenScene.GameScene: InitGame(); break; } }