1#include <startup_system.h>
2#include <stdio.h>
3
4
5
6
7
8
9
10
11
12
15}
16
19}
20
21int main(int argc, char *argv[]) {
23
24
26
27
29
30
32
33
35
37
38
39
40
41
42}
FLECS_API bool ecs_progress(ecs_world_t *world, ecs_ftime_t delta_time)
Progress a world.
#define ECS_SYSTEM(world, id, phase,...)
Declare and define a system.
struct ecs_world_t ecs_world_t
A world is the container for all ECS data and supporting features.
const char * ecs_get_name(const ecs_world_t *world, ecs_entity_t entity)
Get the name of an entity.
int ecs_fini(ecs_world_t *world)
Delete a world.
ecs_world_t * ecs_init_w_args(int argc, char *argv[])
Create a new world with arguments.
ecs_entity_t system
The system (if applicable).