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
10
template
<
typename
T,
typename
... Args>
11
inline
flecs::component<T>
world::component
(Args &&... args)
const
{
12
return
flecs::component<T>
(world_, FLECS_FWD(args)...);
13
}
14
15
template
<
typename
... Args>
16
inline
flecs::untyped_component
world::component
(Args &&... args)
const
{
17
return
flecs::untyped_component
(world_, FLECS_FWD(args)...);
18
}
19
20
}
// namespace flecs
flecs::world::component
flecs::component< T > component(Args &&... args) const
Find or register component.
flecs::component
Component class.
Definition
component.hpp:337
flecs::untyped_component
Untyped component class.
Definition
component.hpp:320