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