#ifndef ENGINE_ECS_H
# define ENGINE_ECS_H

#include <stdint.h>

#define MAX_ENTITY 64

typedef struct {
	float	x[MAX_ENTITY];
	float	y[MAX_ENTITY];
	float	z[MAX_ENTITY];
}	pos_array;

typedef struct {
	int current[MAX_ENTITY];
	int max[MAX_ENTITY];
}	health_array;

typedef struct {
	uint32_t alive;
	uint32_t type;
	uint32_t health_idx;
	uint32_t pos_idx;
	uint32_t ai_idx;
	uint32_t inventory_idx;
	uint32_t idx;
}	entity_metadata;

entity_metadata entity_table[MAX_ENTITY];


#endif
