Join me as I write an ECS in C:
typedef struct {
int id;
} Entity;
That's it. We're done here. Everything else is relevant subsystems that actually have functionality, or plain regular data structures.
If you framework-ify it more than this, you're doing it wrong.
typedef struct {
int id;
} Entity;
That's it. We're done here. Everything else is relevant subsystems that actually have functionality, or plain regular data structures.
If you framework-ify it more than this, you're doing it wrong.