.. _program_listing_file_libs_mcg_include_mcg_World.h: Program Listing for File World.h ================================ |exhale_lsh| :ref:`Return to documentation for file ` (``libs/mcg/include/mcg/World.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include "AABB.h" #include "Connection.h" #include class World { private: std::mt19937_64 gen; std::vector> aabbList; std::vector> blockList; std::vector> entityList; std::vector> objectList; std::vector> connectionList; public: std::vector>& getAABBList(); std::vector>& getBlockList(); std::vector>& getEntityList(); std::vector>& getObjectList(); std::vector>& getConnectionList(); void addAABB(std::unique_ptr aabb); void addEntity(std::unique_ptr entity); void addBlock(std::unique_ptr block); void addObject(std::unique_ptr object); void addConnection(std::unique_ptr connection); std::string virtual toLowLevelMapJSON(); std::string virtual toSemanticMapJSON(); void writeToFile(std::string jsonPath, std::string lowLevelMapJSONPath); World(); std::mt19937_64& getRandom(); void setRandom(int seed); virtual ~World(); };