#pragma once #include #include "map/generator.h" #include "map/region.h" #include "util/vector2.h" class Map { public: Map() = default; Node &at(Vector2 pos); void set_tile(Vector2 pos, Tile *tile); void save(); void load(); private: Region load_or_create_region(Vector2 pos); std::map, Region> m_reigons; Generator m_grass; };