eco2d/code/modules/source/general.c

19 lines
419 B
C
Raw Normal View History

2021-05-04 17:41:30 +00:00
#include "modules/general.h"
void GeneralImport(ecs_world_t *ecs) {
ECS_MODULE(ecs, General);
ecs_set_name_prefix(ecs, "General");
ECS_IMPORT(ecs, FlecsMeta);
2021-05-06 18:24:01 +00:00
ECS_META(ecs, Position);
2021-05-06 16:26:52 +00:00
ECS_META(ecs, Chunk);
2021-05-04 17:41:30 +00:00
ECS_META(ecs, Vector2D);
ECS_META(ecs, Drawable);
ECS_SET_COMPONENT(Chunk);
ECS_SET_COMPONENT(Vector2D);
ECS_SET_COMPONENT(Position);
ECS_SET_COMPONENT(Drawable);
}