public MovementResultInformation(MovementResult result, bool check = false, bool checkmate = false) { if (result == null) { return; } IsOK = result.IsOK; Location = result.Location; Message = result.Message; CheckRemoved = result.CheckRemoved; Stone = result.Stone == null ? null : new StoneInformation(result.Stone); Check = check; Checkmate = checkmate; }
public PlayerBuilder AddStone(StoneInformation stoneInformation) { return(AddStone(Type.GetType(stoneInformation.GetFullTypeName()), stoneInformation.GetXLocation(), stoneInformation.GetYLocation())); }