-added more documentation
-remove update() function from entity -currently max supported components count is 64 per type
This commit is contained in:
parent
546b73c567
commit
845f468d59
10 changed files with 199 additions and 64 deletions
|
|
@ -7,7 +7,7 @@ import ecs.std;
|
|||
|
||||
import std.algorithm.comparison : max;
|
||||
|
||||
struct EventManager
|
||||
package struct EventManager
|
||||
{
|
||||
|
||||
void initialize(EntityManager* m) nothrow @nogc
|
||||
|
|
@ -34,7 +34,7 @@ struct EventManager
|
|||
|
||||
EventData* data = &events[Ev.event_id];
|
||||
EventBlock* block = data.blocks[block_id];
|
||||
EntityManager.EventInfo* info = &gEM.events[Ev.event_id];
|
||||
//EntityManager.EventInfo* info = &gEM.events[Ev.event_id];
|
||||
event.entity_id = id;
|
||||
|
||||
if(block is null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue