-suport system callback: onCreate, onDestroy, onBegin, onEnd

-support for optional Components for System
-Components IDs in Systems are now stored as ushorts
This commit is contained in:
Mergul 2018-09-16 22:40:55 +02:00
parent 8fdb56e840
commit b3dce6560a
4 changed files with 180 additions and 60 deletions

View file

@ -2,8 +2,8 @@ module ecs.entity_allocator;
import ecs.manager;
import std.experimental.allocator.mallocator : Mallocator, AlignedMallocator;
import std.experimental.allocator;
import std.experimental.allocator.mallocator : AlignedMallocator, Mallocator;
struct EntityAllocator
{