#ifndef CAR_H
#define CAR_H

#include <string>
#include "vehicle.h"

class car : public vehicle
{
public:
    car(std::string s) : vehicle(s) {}
    // virtual ~car() {}  automatikusan létrejön

    /* virtual */ bool mv() { return get_reg().length() > 5; }
};

#endif /* CAR_H */