#ifndef BUS_H
#define BUS_H

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

class bus : public vehicle
{
public:
    bus(std::string s, int per) : vehicle(s), persons(per) {}

    /* virtual */ bool mv() { return persons < 50; }
private:
    int persons;
};

#endif /* BUS_H */