16 explicit Engine(
double power);
Engine & operator=(const Engine &rhs)
Copy assignment.
Engine that provides motion.
bool is_running() const
Indicates whether engine is running or not.
void stop()
Stops the engine, even if it was already stopped.
Engine(double power)
Constructor initializes the power, is_running status set to false.
~Engine()
Destructor does not do a thing.
void start()
Starts the engine, even if it already was running.