package generators;
import java.util.List;
import squaresgame.GameController;
import squaresgame.Grid;
import squaresgame.Player;
import squaresgame.TurnCounter;
public class GameControllerGenerator {
private static GameController controller;
private static Thread gameThread;
public static void setUpGameController(Grid g, List<Player> players){
TurnCounter tc = new TurnCounter(players);
controller = new GameController(tc, g);
gameThread = new Thread(controller);
gameThread.start();
}
}