#23 组件绘制层支持

This commit is contained in:
YHH
2020-08-08 09:43:03 +08:00
parent e7fb9e0d6b
commit 6a3622a5ef
10 changed files with 100 additions and 48 deletions

View File

@@ -73,7 +73,7 @@ module es {
// 单元格应该始终存在,因为这个碰撞器应该在所有查询的单元格中
let cell = this.cellAtPosition(x, y);
if (!cell)
console.error(`removing Collider [${collider}] from a cell that it is not present in`);
console.log(`从不存在碰撞器的单元格中移除碰撞器: [${collider}]`);
else
cell.remove(collider);
}