Esempio n. 1
0
 public ShipLayout(int fromX, int toX, int fromY, int toY)
 {
     VectorX = new ShipVector(fromX, toX);
     VectorY = new ShipVector(fromY, toY);
 }
Esempio n. 2
0
 public ShipLayout(Coordinate coordinateFrom, Coordinate coordinateTo)
 {
     VectorX = new ShipVector(coordinateFrom.PositionX, coordinateTo.PositionX);
     VectorY = new ShipVector(coordinateFrom.PositionY, coordinateTo.PositionY);
 }
Esempio n. 3
0
 public ShipLayout(ShipVector vectorX, ShipVector vectorY)
 {
     VectorX = vectorX;
     VectorY = vectorY;
 }