Skip to content

Commit

Permalink
Add more docs to world manager
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmMoltony committed Jan 1, 2024
1 parent 93ee6bc commit c8b79be
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/worldmgr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,20 @@ class WorldManager
*/
struct WorldInfo
{
/**
* @brief name of world
*/
std::string name;

/**
* @note size is in bytes
* @brief Size of the world in bytes
*/
int size;
};

/**
* @brief Type for list of worlds
*/
typedef std::vector<WorldInfo> WorldList;

/**
Expand Down

0 comments on commit c8b79be

Please sign in to comment.