移动部分类模块至es
优化框架
This commit is contained in:
10
source/src/ECS/Components/IUpdatableComparer.ts
Normal file
10
source/src/ECS/Components/IUpdatableComparer.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
module es {
|
||||
/**
|
||||
* 用于比较组件更新排序
|
||||
*/
|
||||
export class IUpdatableComparer {
|
||||
public compare(a: Component, b: Component){
|
||||
return a.updateOrder - b.updateOrder;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user