#include #include "map_entities/cell.hpp" #include "map_entities/action.hpp" #pragma once namespace map { class GameMap { private: std::vector > cells; std::vector actions; std::vector freeActionsId; public: GameMap(std::pair sz); size_t addAction(const Action& action); void removeAction(size_t id); const Cell& getCell(std::pair pos); void setCell(std::pair pos, const Cell& cell); std::vector> getWay( std::pair start, std::pair end); }; }