-changes in gitignore

-changed "absent" to "excluded" everywhere
-added Events support:
 *systems are scanned by handleEvent() function
 *generate system callers for events
 *event sending have (untested) multithreaded support
 *EventInput structure in System has input components for event
This commit is contained in:
Mergul 2018-11-02 15:39:46 +01:00
parent 16a5696840
commit 3bc5ff2423
8 changed files with 689 additions and 310 deletions

View file

@ -1,6 +1,7 @@
module ecs.core;
public import ecs.manager;
public import ecs.entity;
static struct ECS
{
@ -25,5 +26,6 @@ static struct ECS
mixin template Event()
{
__gshared ushort event_id;
EntityID entity_id;
}
}