更新注释
This commit is contained in:
2
source/bin/framework.d.ts
vendored
2
source/bin/framework.d.ts
vendored
@@ -1360,7 +1360,7 @@ declare module es {
|
||||
*/
|
||||
protected _isColliderRegistered: any;
|
||||
/**
|
||||
* 镖师碰撞器的绝对位置
|
||||
* 表示碰撞器的绝对位置
|
||||
*/
|
||||
readonly absolutePosition: Vector2;
|
||||
/**
|
||||
|
||||
@@ -3277,7 +3277,7 @@ var es;
|
||||
}
|
||||
Object.defineProperty(Collider.prototype, "absolutePosition", {
|
||||
/**
|
||||
* 镖师碰撞器的绝对位置
|
||||
* 表示碰撞器的绝对位置
|
||||
*/
|
||||
get: function () {
|
||||
return es.Vector2.add(this.entity.transform.position, this._localOffset);
|
||||
|
||||
@@ -44,7 +44,7 @@ module es {
|
||||
protected _isColliderRegistered;
|
||||
|
||||
/**
|
||||
* 镖师碰撞器的绝对位置
|
||||
* 表示碰撞器的绝对位置
|
||||
*/
|
||||
public get absolutePosition(): Vector2 {
|
||||
return Vector2.add(this.entity.transform.position, this._localOffset);
|
||||
|
||||
Reference in New Issue
Block a user