-change ecsID to becsID
-change component_id/system_id to becsID in demos
This commit is contained in:
parent
a926b79223
commit
a6d92cb21b
17 changed files with 296 additions and 272 deletions
|
|
@ -4,7 +4,7 @@ import bubel.ecs.block_allocator;
|
|||
import bubel.ecs.entity;
|
||||
import bubel.ecs.manager;
|
||||
import bubel.ecs.std;
|
||||
import bubel.ecs.traits : ecsID;
|
||||
import bubel.ecs.traits : becsID;
|
||||
|
||||
import std.algorithm.comparison : max;
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ package struct EventManager
|
|||
{
|
||||
uint block_id = current_index + thread_id;
|
||||
|
||||
EventData* data = &events[ecsID!Ev];
|
||||
EventData* data = &events[becsID!Ev];
|
||||
EventBlock* block = data.blocks[block_id];
|
||||
//EntityManager.EventInfo* info = &manager.events[Ev.event_id];
|
||||
//event.entity_id = id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue