public void SetGame() { if (gameLoaded) { throw new Exception(); } else { //Team white Team white = new Team(); white.SetColour(Team._COLOURS[0]); white.RestPawns(); //Team black Team black = new Team(); black.SetColour(Team._COLOURS[1]); black.RestPawns(); //Board Board newBoard = new Board(); board = newBoard; board.GenerateNewBoard(); board.AddAllPawns(white.Pawns, black.Pawns); teams.Add(white); teams.Add(black); gameLoaded = true; } }