-now event handler system does not have to has EventInput structure
This commit is contained in:
parent
beab56033c
commit
ebec25633e
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ export class EntityManager
|
||||||
static assert(0, "System should gave \"EntitiesData\" struct for input components");
|
static assert(0, "System should gave \"EntitiesData\" struct for input components");
|
||||||
}
|
}
|
||||||
|
|
||||||
static if (hasMember!(Sys, "EventInput"))
|
static if (hasMember!(Sys, "handleEvent"))
|
||||||
{
|
{
|
||||||
static void callEventHandler(Type)(ref EventCallData data)
|
static void callEventHandler(Type)(ref EventCallData data)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue