-enabled handleEvent
This commit is contained in:
parent
9c5ceacacb
commit
633aad6cb7
2 changed files with 8 additions and 8 deletions
|
|
@ -140,19 +140,19 @@ struct ChangeTestSystem
|
|||
void onCreate()
|
||||
{
|
||||
//writeln("On Change Test System create.");
|
||||
printf("On Change Test System create.");
|
||||
printf("On Change Test System create.\n");
|
||||
}
|
||||
|
||||
void onCreate(int i)
|
||||
{
|
||||
//writeln("On Change Test System create.");
|
||||
printf("On Change Test System create.");
|
||||
printf("On Change Test System create.\n");
|
||||
}
|
||||
|
||||
void onDestroy()
|
||||
{
|
||||
//writeln("On Change Test System destroy.");
|
||||
printf("On Change Test System destroy.");
|
||||
printf("On Change Test System destroy.\n");
|
||||
}
|
||||
|
||||
void onAddEntity(EntitiesData data)
|
||||
|
|
@ -215,13 +215,13 @@ struct TestSystem
|
|||
void onCreate()
|
||||
{
|
||||
//writeln("On Test System create.");
|
||||
printf("On Change Test System create.");
|
||||
printf("On Change Test System create.\n");
|
||||
}
|
||||
|
||||
void onDestroy()
|
||||
{
|
||||
//writeln("On Test System destroy.");
|
||||
printf("On Change Test System destroy.");
|
||||
printf("On Change Test System destroy.\n");
|
||||
}
|
||||
|
||||
void onAddEntity(EntitiesData data)
|
||||
|
|
@ -421,7 +421,7 @@ struct TestSystem2
|
|||
import std.stdio;
|
||||
|
||||
//writeln("TestSystem2 enabled");
|
||||
printf("TestSystem2 enabled");
|
||||
printf("TestSystem2 enabled\n");
|
||||
}
|
||||
|
||||
void onDisable()
|
||||
|
|
@ -429,7 +429,7 @@ struct TestSystem2
|
|||
import std.stdio;
|
||||
|
||||
//writeln("TestSystem2 disabled");
|
||||
printf("TestSystem2 disabled");
|
||||
printf("TestSystem2 disabled\n");
|
||||
}
|
||||
|
||||
void initialize(ref Entity entity, ref TestComp comp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue