Add: adding a component test
This commit is contained in:
parent
6d7d0bb26a
commit
cdced8e32c
|
|
@ -29,6 +29,9 @@ int main(void) {
|
||||||
|
|
||||||
BECS_ECS *ecs = malloc(MinMemorySize);
|
BECS_ECS *ecs = malloc(MinMemorySize);
|
||||||
BECS_Init(ecs, MinMemorySize, &EcsProps);
|
BECS_Init(ecs, MinMemorySize, &EcsProps);
|
||||||
|
compA A = {};
|
||||||
|
A.thing = 1;
|
||||||
|
BECS_AddComponent(ecs, 0, 1, &A);
|
||||||
|
|
||||||
printf("Initialized\n");
|
printf("Initialized\n");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue