#pragma once #include "TileType.hpp" #include class BlockType { public: TileType* tile_type; std::vector> grid; uint width, height, starting_line; bool rotate; BlockType(TileType* _tile_type, const std::vector> _grid, bool _rotate = true); static BlockType* random(); static void init(); private: inline static std::vector list = {}; inline static bool inited = false; };