* Check collision at world coordinates * 检查世界坐标处的碰撞
(worldX: number, worldY: number)
| 879 | * 检查世界坐标处的碰撞 |
| 880 | */ |
| 881 | hasCollisionAt(worldX: number, worldY: number): boolean { |
| 882 | const [col, row] = this.worldToTile(worldX, worldY); |
| 883 | return this.hasCollision(col, row); |
| 884 | } |
| 885 | |
| 886 | /** |
| 887 | * Get all collision tiles within bounds |
nothing calls this directly
no test coverage detected