26 lines
422 B
C++

//
// Created by Nik on 11/04/2022.
//
#ifndef NALOGA0602_VAGON_H
#define NALOGA0602_VAGON_H
#include "Prikljucek.h"
enum TipVag{
Potniski = 0,
Tovorni = 1
};
class Vagon : public Prikljucek{
private:
TipVag tip;
public:
Vagon(double dolzina, double sirina, TipVag tip);
std::string tipV() const;
std::string toString() const override;
};
#endif //NALOGA0602_VAGON_H