public void updateBoatValues(Boat boat, int index) { this.boats[index].Length = boat.Length; this.boats[index].Type = boat.Type; }
public void addBoat(Boat boat) { boats.Add(boat); }
public void updateBoatValues(Boat boat, int index) { this.boats[index].Length = boat.Length; this.boats[index].Type = boat.Type; }
public void addBoat(Boat boat) { boats.Add(boat); }