跳到主要内容

updateLastPosition 更新上一次的位置

updateLastPosition

类型: MethodDeclaration

所属类: ActorCollider

定义位置: actor.ts

描述

更新上一次的位置

返回值

类型: void

源代码

位置: 第 1436 行

public updateLastPosition(): void {
this.lastX = this.actor.x
this.lastY = this.actor.y
}

文档生成时间:2025/7/7 12:07:06