public MyShipPosition(int row1, int col1, int row2, int col2) { this.start = new Square(row1, col1); this.end = new Square(row2, col2); }
public MyShipPosition(Square startingSquare, Square endingSquare) { this.start = startingSquare; this.end = endingSquare; }