NcEngine
Scene.h
Go to the documentation of this file.
1
5
#pragma once
6
7
#include "
ncengine/ecs/EcsFwd.h
"
8
#include "
ncengine/module/ModuleProvider.h
"
9
10
#include <filesystem>
11
#include <memory>
12
13
namespace
nc
14
{
15
class
Registry;
16
17
class
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
EcsFwd.h
ModuleProvider.h
nc::ModuleProvider
Provides access to registered Modules.
Definition:
ModuleProvider.h:15
nc::Scene
Definition:
Scene.h:18
nc::ecs::EcsInterface
Interface for higher-level entity and component operations with optional type access restriction.
Definition:
Ecs.h:18
include
ncengine
scene
Scene.h
Generated by
1.9.4