Loading...
Searching...
No Matches
ComponentRegistration.cpp
Go to the documentation of this file.
1
//
2
// Created by denzel on 30/11/2025.
3
//
4
5
#
include
"ComponentRegistration.h"
6
7
#
include
"ComponentRegistry.h"
8
#
include
"TransformComponent.h"
9
10
namespace
hellfire
{
11
void
register_all_components
() {
12
auto
® =
ComponentRegistry
::
instance
(
)
;
13
reg.register_component<
TransformComponent
>(
"TransformComponent"
);
14
reg.register_component<MeshComponent>(
"MeshComponent"
);
15
reg.register_component<RenderableComponent>(
"RenderableComponent"
);
16
reg.register_component<
LightComponent
>(
"LightComponent"
);
17
}
18
}
hellfire::ComponentRegistry
Definition
ComponentRegistry.h:17
hellfire::ComponentRegistry::instance
static ComponentRegistry & instance()
Definition
ComponentRegistry.h:23
hellfire::LightComponent
Definition
LightComponent.h:19
hellfire::TransformComponent
Definition
TransformComponent.h:10
hellfire
Definition
AssetManager.cpp:10
hellfire::register_all_components
void register_all_components()
Definition
ComponentRegistration.cpp:11
engine
src
hellfire
ecs
ComponentRegistration.cpp
Generated by
1.9.8