consolidate all repos to one for archive
This commit is contained in:
25
semester_2/programiranje_2/naloga0602/Vagon.h
Normal file
25
semester_2/programiranje_2/naloga0602/Vagon.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user