consolidate all repos to one for archive
This commit is contained in:
28
semester_2/programiranje_2/naloga1001/Painting.h
Normal file
28
semester_2/programiranje_2/naloga1001/Painting.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef NALOGA0201_PAINTING_H
|
||||
#define NALOGA0201_PAINTING_H
|
||||
|
||||
#include "Artwork.h"
|
||||
|
||||
enum class PaintingTechnique {
|
||||
Oil,
|
||||
Acrylic,
|
||||
Graphite
|
||||
};
|
||||
|
||||
class Painting : public Artwork {
|
||||
private:
|
||||
PaintingTechnique technique;
|
||||
public:
|
||||
Painting() = default;
|
||||
|
||||
Painting(std::string title, std::string description, int price, int year, Artist *artist, double width, double height, double depth, PaintingTechnique technique);
|
||||
|
||||
~Painting() = default;
|
||||
|
||||
std::string getTechnique() const;
|
||||
|
||||
std::string toString() const override;
|
||||
};
|
||||
|
||||
|
||||
#endif //NALOGA0201_PAINTING_H
|
||||
Reference in New Issue
Block a user