#pragma once #include #include #include #include #include #include #include struct pattern_info { std::string title; std::string author; std::string comments; sf::Vector2i dimensions; char *nodes; }; class Decoder { public: Decoder(); ~Decoder(); pattern_info decodePattern(std::string pattern); std::vector getPatternList(); private: std::vector pattern_list; };