Commit 17de0b4a by Philipp Adolf

Minor formatting fixes for GameMaster.cs

parent f8bbddfe
...@@ -5,13 +5,11 @@ using UnityEngine.UI; ...@@ -5,13 +5,11 @@ using UnityEngine.UI;
public class GameMaster : MonoBehaviour public class GameMaster : MonoBehaviour
{ {
DeserializedLevelsLoader levelLoader; DeserializedLevelsLoader levelLoader;
public PlayerControl[] playerPrefabs; public PlayerControl[] playerPrefabs;
public GameObject gameOverPanel; public GameObject gameOverPanel;
public Text rankingText; public Text rankingText;
// Use this for initialization
void Start() void Start()
{ {
levelLoader = new DeserializedLevelsLoader(); levelLoader = new DeserializedLevelsLoader();
...@@ -28,7 +26,6 @@ public class GameMaster : MonoBehaviour ...@@ -28,7 +26,6 @@ public class GameMaster : MonoBehaviour
spawnPlayers(numberOfPlayers); spawnPlayers(numberOfPlayers);
} }
private void deleteAllPlayers() private void deleteAllPlayers()
{ {
foreach (GameObject player in GameObject.FindGameObjectsWithTag("Player")) foreach (GameObject player in GameObject.FindGameObjectsWithTag("Player"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment