Merge branch 'master' of https://github.com/esengine/ecs-framework
# Conflicts: # source/bin/framework.min.js
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
module es {
|
||||
export class Insist {
|
||||
public static fail(message: string = null, ...args: any[]) {
|
||||
if (!console.assert)
|
||||
return;
|
||||
|
||||
if (message == null) {
|
||||
console.assert(false);
|
||||
} else {
|
||||
|
||||
@@ -42,7 +42,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