public bool Equals(GameBoardCoordinate other) { if (other == null) { return(false); } return((X == other.X) && (Y == other.Y)); }
public OutOfGameBoardException(GameBoardCoordinate invalidCoordinate) { InvalidCoordinate = invalidCoordinate; }