consolidate all repos to one for archive
This commit is contained in:
19
semester_2/programiranje_2/naloga0602/Lokomotiva.h
Normal file
19
semester_2/programiranje_2/naloga0602/Lokomotiva.h
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// Created by Nik on 11/04/2022.
|
||||
//
|
||||
|
||||
#ifndef NALOGA0602_LOKOMOTIVA_H
|
||||
#define NALOGA0602_LOKOMOTIVA_H
|
||||
|
||||
#include "Prikljucek.h"
|
||||
|
||||
class Lokomotiva : public Prikljucek{
|
||||
private:
|
||||
double moc;
|
||||
public:
|
||||
Lokomotiva(double dolzina, double sirina, double moc);
|
||||
std::string toString() const override;
|
||||
};
|
||||
|
||||
|
||||
#endif //NALOGA0602_LOKOMOTIVA_H
|
||||
Reference in New Issue
Block a user