20 lines
360 B
C++

//
// 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