优化框架性能,Time支持传入引擎dt
This commit is contained in:
@@ -250,8 +250,8 @@ module es {
|
||||
/**
|
||||
* 获取EntitySystem处理器
|
||||
*/
|
||||
public getEntityProcessor<T extends EntitySystem>(): T {
|
||||
return this.entityProcessors.getProcessor<T>();
|
||||
public getEntityProcessor<T extends EntitySystem>(type: new (...args: any[]) => T): T {
|
||||
return this.entityProcessors.getProcessor<T>(type);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user