-added EntityBlocks allocating in blocks (no memory freeing, currently block contain 128 EntityBlocks)
This commit is contained in:
parent
1aa1fbf36b
commit
5b2a6e9890
3 changed files with 20 additions and 48 deletions
|
|
@ -101,7 +101,7 @@ int main()
|
|||
test2.b += 2;
|
||||
test2.a = 8;
|
||||
//writeln("Jakis tekst! ",test2.b);
|
||||
writeln("Low priority tekst! ");
|
||||
//writeln("Low priority tekst! ");
|
||||
}
|
||||
|
||||
void handleEvent(Event event, ref TestComp comp)
|
||||
|
|
@ -122,7 +122,7 @@ int main()
|
|||
{
|
||||
assert(cast(size_t)&test % TestComp.alignof == 0);
|
||||
|
||||
writeln("High priority tekst! ");
|
||||
//writeln("High priority tekst! ");
|
||||
}
|
||||
|
||||
void handleEvent(Event event, ref TestComp comp)
|
||||
|
|
@ -155,7 +155,7 @@ int main()
|
|||
|
||||
void update(ref Entity entity, ref TestComp3 test) //ref TestComp comp)
|
||||
{
|
||||
writeln("TestSystem2 update");
|
||||
//writeln("TestSystem2 update");
|
||||
test.gg += 14;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue