NcEngine
Scene.h
Go to the documentation of this file.
1
5#pragma once
6
9
10#include <filesystem>
11#include <memory>
12
13namespace nc
14{
15class Registry;
16
17class Scene
18{
19 public:
20 virtual ~Scene() = default;
21 virtual void Load(ecs::Ecs world, ModuleProvider modules) = 0;
22 virtual void Unload() {}
23};
24} // namespace nc
Provides access to registered Modules.
Definition: ModuleProvider.h:15
Definition: Scene.h:18
Interface for higher-level entity and component operations with optional type access restriction.
Definition: Ecs.h:18