Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / Exam 2 Preparation / Automobile.h
blob: a468f2dc90ebabec2356e64c411e5d8c0542db3c (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "Vehicle.h"

class Automobile : public Vehicle {
public:
	Automobile(String brand, unsigned maxSpeed);

	unsigned getSpeedOnRoad(Road road) const override;
	Automobile* clone() const override;
};