/* Shapes class module stores information of the shape layouts (and their binaries), and height of the shape with basic functionality */ #ifndef _SHAPES_H_ #define _SHAPES_H_ #include #include #include class Shapes { static std::map>>> layouts; static std::map>> binaries; static std::map> heights; char type; public: Shapes(char type); char getType() const noexcept; std::vector> getLayout(int version); std::vector> &getBinary(); int getHeight(int version) const; }; #endif