Merge branch 'master' of https://github.com/esengine/ecs-framework
# Conflicts: # source/bin/framework.min.js
This commit is contained in:
@@ -356,6 +356,8 @@ var es;
|
||||
for (var _i = 1; _i < arguments.length; _i++) {
|
||||
args[_i - 1] = arguments[_i];
|
||||
}
|
||||
if (!console.assert)
|
||||
return;
|
||||
if (message == null) {
|
||||
console.assert(false);
|
||||
}
|
||||
@@ -3239,7 +3241,7 @@ var es;
|
||||
}
|
||||
Object.defineProperty(Collider.prototype, "absolutePosition", {
|
||||
/**
|
||||
* 镖师碰撞器的绝对位置
|
||||
* 表示碰撞器的绝对位置
|
||||
*/
|
||||
get: function () {
|
||||
return es.Vector2.add(this.entity.transform.position, this._localOffset);
|
||||
|
||||
Reference in New Issue
Block a user