/// <summary> /// Recovers the game /// </summary> /// <param name="state">String representing the state of the board to be recovered</param> /// <param name="isWhiteMove">Bool represeting who is on the move (true if it's whites move, false if it's blacks move)</param> /// <param name="isHost">Bool representing if the person whos game is beeing recovered was host (true if the client was host, otherwise false)</param> public void RecoverGame(string state, bool isWhiteMove, bool isHost) { OthelloBoard game = GameObject.Find("Board").GetComponent <OthelloBoard>(); Client c = FindObjectOfType <Client>(); c.isHost = isHost; game.RecoverGame(state, isWhiteMove); }