bubel-ecs/source/ecs/entity.d
Mergul a61a54b43f -components and infos are now stored in hash maps
-adding entities
-Template allocating and freeing
-Deltas calulating for components in EntityType
-Updating for every EntityType and System
-Generate deltas, components list, and functions callers for Systems
2018-09-09 23:28:18 +02:00

20 lines
No EOL
216 B
D

module ecs.entity;
import ecs.manager;
struct EntityID
{
uint id;
uint id_count;
}
struct Entity
{
EntityID id;
}
struct EntityTemplate
{
ubyte[] entity_data;
EntityManager.EntityInfo* info;
}