public static DraggableShip From(Ship ship) { var draggableShip = new DraggableShip(ship.Length) { X = ship.X, Y = ship.Y, Orientation = ship.Orientation, Source = ship }; return draggableShip; }
public static DraggableShip From(Ship ship) { var draggableShip = new DraggableShip(ship.Length) { X = ship.X, Y = ship.Y, Orientation = ship.Orientation, Source = ship }; return(draggableShip); }