21 [[nodiscard]]
static std::expected<SceneHandle, Core::CoriError<>>
CreateScene(
const std::string& name);
28 [[nodiscard]]
static std::expected<SceneHandle, Core::CoriError<>>
GetScene(
const std::string& name);
35 [[nodiscard]]
static std::expected<SceneHandle, Core::CoriError<>>
GetScene(
const std::string_view name);
44 [[nodiscard]]
static std::expected<SceneHandle, Core::CoriError<>>
GetHandle(
const uint32_t sceneID);
51 [[nodiscard]]
static std::expected<void, Core::CoriError<>>
DestroyScene(
const std::string& name);
56 static void Shutdown();
Main Application object, there can only be one Application object. Basically a root of the program.
Responsible for creating and managing scenes, has full lifetime control of the existing scenes.
static std::expected< SceneHandle, Core::CoriError<> > GetHandle(const uint32_t sceneID)
Allows you to get SceneHandle if all you know is scene id.
static std::expected< SceneHandle, Core::CoriError<> > GetScene(const std::string &name)
Retries the scene with the specified name from the cache.
static std::expected< void, Core::CoriError<> > DestroyScene(const std::string &name)
Destroys a scene with the specified name.
static std::expected< SceneHandle, Core::CoriError<> > CreateScene(const std::string &name)
Creates a scene with the specified name and adds it to the cache.
Core systems of the engine are here.
Anything connected to WorldSystem (ECS) is in this namespace.