internal Game(GameRecreation recreation) { GameMode = recreation.GameMode; CurrentTurn = recreation.CurrentTurn; Board = recreation.Board; Player1 = new Player(GameColor.White, true); Player2 = new Player(GameColor.Red, recreation.IsRedHuman); CurrentTurn.Player = recreation.CurrentColor == GameColor.White ? Player1 : Player2; }
public static Game CreateSavedGame(GameRecreation recreation) { var game = new Game(recreation); return game; }