Update GameManager.cs

This commit is contained in:
djkellerman
2025-02-26 18:19:38 -05:00
parent 408cd7c695
commit 710df1c8d4

View File

@@ -3,9 +3,6 @@ using UnityEngine;
public class GameManager : MonoBehaviour public class GameManager : MonoBehaviour
{ {
<<<<<<< Updated upstream
=======
public void StartGame() public void StartGame()
{ {
if (gameMode == GameMode.freeForAll) if (gameMode == GameMode.freeForAll)
@@ -22,7 +19,6 @@ public class GameManager : MonoBehaviour
} }
} }
>>>>>>> Stashed changes
public enum GameMode public enum GameMode
{ {
freeForAll, freeForAll,
@@ -46,15 +42,6 @@ public class GameManager : MonoBehaviour
} }
} }
<<<<<<< Updated upstream
public void StartGame()
{
if (gameMode == GameMode.freeForAll)
{
// Start free for all game
}
}
=======
private void StartKeepAway() private void StartKeepAway()
{ {
foreach (GameObject player in players) foreach (GameObject player in players)
@@ -69,10 +56,4 @@ public class GameManager : MonoBehaviour
player.transform.position = spawnPosition; player.transform.position = spawnPosition;
} }
} }
private void Start()
{
StartGame();
}
>>>>>>> Stashed changes
} }