-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:
parent
16a5696840
commit
3bc5ff2423
8 changed files with 689 additions and 310 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue