bubel-ecs/source/ecs/entity.d
DanielMz25 6217aec6be -changed README
-license changed to BSD (maybe temporary)
-added configurations to dub.json
-initial ECS implementation (WIP):
	-Manager, System, Entity, Component
	-registering components
	-registering systems
	-calling update
2018-09-07 20:54:29 +02:00

18 lines
No EOL
177 B
D

module ecs.entity;
struct EntityID
{
uint id;
uint id_count;
}
struct Entity
{
EntityID id;
}
struct EntityTemplate
{
uint[] components;
Entity* entity;
}