36 void info()
const override;
39 void move(
double speed, std::vector<double> direction)
override = 0;
LandVehicle & operator=(const LandVehicle &rhs)
Copy assignment.
A LandVehicle drives on land.
Header for the Vehicle class.
This Vehicle interface class.
LandVehicle()
default constructor.
void move(double speed, std::vector< double > direction) override=0
Pure virtual function: motion for the LandVehicle.
void info() const override
Return identification info.
~LandVehicle() override
Destructor.