-add ecsID template function (get Component/System/Event ID, passes tests)
-removed some ECS mixins code
This commit is contained in:
parent
13c82acad4
commit
a926b79223
9 changed files with 138 additions and 123 deletions
|
|
@ -65,7 +65,7 @@ void beforeEveryTest()
|
|||
|
||||
gEM.endRegister();
|
||||
|
||||
tmpl = gEM.allocateTemplate([CLong.component_id, CInt.component_id, CUInt.component_id, CBig.component_id].staticArray);
|
||||
tmpl = gEM.allocateTemplate([ecsID!CLong, ecsID!CInt, ecsID!CUInt, ecsID!CBig].staticArray);
|
||||
foreach(i; 0 .. 100_000)gEM.addEntity(tmpl);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue