21 lines
355 B
C++

//
// Created by Nik on 10/04/2022.
//
#ifndef NALOGA0601_SHAPE2D_H
#define NALOGA0601_SHAPE2D_H
#include "PrintUtility.h"
class Shape2D {
protected:
ColorCode color;
public:
Shape2D(ColorCode color);
virtual unsigned int getSurfaceArea() const = 0;
virtual void draw() const = 0;
};
#endif //NALOGA0601_SHAPE2D_H