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