public void ChangeBoat(int selectedBoatIndex, Boat newBoat) { DeleteBoat(selectedBoatIndex); AddBoat(newBoat); }
public void AddBoat(Boat boat) { Boat newBoat = new Boat(boat.Type, boat.Width, boat.Length); _boats.Add(newBoat); }