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

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

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