bubel-ecs/source/ecs/system.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

16 lines
No EOL
328 B
D

module ecs.system;
import ecs.entity;
import ecs.manager;
struct System
{
///should system update and catch events?
bool enabled = true;
///system priority
int prority;
///pointer to system implementation
void* system_pointer;
void function(ref EntityManager.CallData data, void* entity) update;
}