Exemplo n.º 1
0
 public MyShipPosition(int row1, int col1, int row2, int col2)
 {
     this.start = new Square(row1, col1);
     this.end   = new Square(row2, col2);
 }
Exemplo n.º 2
0
 public MyShipPosition(Square startingSquare, Square endingSquare)
 {
     this.start = startingSquare;
     this.end   = endingSquare;
 }