Rework input

This commit is contained in:
2023-12-05 14:38:11 +01:00
parent 8d01f328f9
commit ae1c21bdfc
6 changed files with 69 additions and 26 deletions

View File

@@ -47,6 +47,11 @@ bool initEntityObjectsLayer(BzTileMap *map, BzTileObjectGroup *objectGroup) {
.elapsed=i * 0.1f,
});
ecs_set(ECS, e, AnimationType, {ANIM_IDLE});
EntityArms arms = {
.left=ecs_new_id(ECS),
.right=ecs_new_id(ECS),
};
//ecs_set_ptr(ECS, e, EntityArms, &arms);
}
return true;