1.新增类型识别
2.EntitySystem新增initialize生命周期,构造函数后执行
This commit is contained in:
@@ -2906,6 +2906,7 @@ var es;
|
||||
function EntitySystem(matcher) {
|
||||
this._entities = [];
|
||||
this._matcher = matcher ? matcher : es.Matcher.empty();
|
||||
this.initialize();
|
||||
}
|
||||
Object.defineProperty(EntitySystem.prototype, "scene", {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user