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
#include "
builder.hpp
"
9
10
namespace
flecs
11
{
12
13
inline
flecs::entity
script_builder::run()
const
{
14
ecs_entity_t
e =
ecs_script_init
(world_, &desc_);
15
return
flecs::entity
(world_, e);
16
}
17
18
}
ecs_script_init
FLECS_API ecs_entity_t ecs_script_init(ecs_world_t *world, const ecs_script_desc_t *desc)
Load managed script.
ecs_entity_t
ecs_id_t ecs_entity_t
An entity identifier.
Definition
flecs.h:347
builder.hpp
Script builder.
flecs::entity
Entity.
Definition
entity.hpp:30