mirror of
https://github.com/ConjureETS/OuijaMTLGJ2016.git
synced 2026-03-24 02:01:06 +00:00
26 lines
544 B
C#
26 lines
544 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class GameState {
|
|
|
|
private static GameState instance = new GameState();
|
|
public static GameState Instance { get { return instance; } }
|
|
|
|
public LevelManager currentLevel = null;
|
|
|
|
public int numPlayers = 3;
|
|
public int wordLength = 5;
|
|
public int numRows = 50;
|
|
public int numColumns = 30;
|
|
public Player[] players;
|
|
|
|
private GameState()
|
|
{
|
|
players = new Player[numPlayers];
|
|
for (int i = 0; i < numPlayers; i++)
|
|
{
|
|
players[i] = new Player(i+1);
|
|
}
|
|
}
|
|
}
|