Flecs
v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
impl.hpp
Go to the documentation of this file.
1
6
#pragma once
7
8
namespace
flecs {
9
namespace
rest {
10
namespace
_ {
11
12
inline
void
init(
flecs::world
& world) {
13
world.
component
<Rest>(
"flecs::rest::Rest"
);
14
}
15
16
}
// namespace _
17
}
// namespace rest
18
}
// namespace flecs
flecs::world::component
flecs::component< T > component(Args &&... args) const
Find or register component.
flecs::world
The world.
Definition
world.hpp:137