37 void info()
const override;
40 void move(
double speed, std::vector<double> direction)
override;
void info() const override
Return identification info.
Abstract WaterVehicle class.
void move(double speed, std::vector< double > direction) override
Sailboat motion.
Header for the WaterVehicle class.
SailBoat(std::string name)
Parametrized constructor initializes the name of the boat.
~SailBoat() override
Destructor.
SailBoat & operator=(const SailBoat &rhs)
Copy assignment.