Update for all entities

This commit is contained in:
mmcomando 2018-09-10 18:52:31 +02:00
parent 4d35bc2a1b
commit 9c5a60447c
2 changed files with 14 additions and 6 deletions

View file

@ -62,13 +62,13 @@ unittest
assert( cast(ptrdiff_t)&test % TestComp.alignof == 0 );
assert( cast(ptrdiff_t)&test2 % TestComp2.alignof == 0 );
import std.stdio;
writeln("Jakis tekst! ",test.b);
//writeln("Jakis tekst! ",test.b);
test.a+=1000;
test.b+=2000;
writeln("Jakis tekst! ",test.b);
//writeln("Jakis tekst! ",test.b);
test2.b += 2;
test2.a = 1;
writeln("Jakis tekst! ",test2.b);
//writeln("Jakis tekst! ",test2.b);
}
void handleEvent(Event event, ref TestComp comp)