3#include <core/scene/world.hpp>
60 static ref<world>
get_world(
const std::string& p_tag);
63 ref<world> search_world(
const std::string& p_tag);
67 ref<world> append_world_and_get(
const ref<world>& p_world);
71 std::string m_tag =
"Undefined";
72 std::map<std::string, ref<world>> m_world_registered;
system registry acts as a utility for managing creation of game worlds initially
Definition registry.hpp:19
system_registry(const std::string &p_name)
construct a new system registry
static ref< world > get_world(const std::string &p_tag)
Searches and returns world if found.
static ref< world > create_world(const std::string &p_tag)
constructs a new world