This commit is contained in:
Kim Ravn Hansen
2025-10-18 11:44:51 +02:00
parent 0265f78b6d
commit a9bb48babb
3 changed files with 107 additions and 99 deletions

View File

@@ -140,7 +140,7 @@ export class TileMap {
return this.tiles[y][x];
}
behavesLikeWall(x, y) {
isWallLike(x, y) {
x |= 0;
y |= 0;
@@ -161,7 +161,7 @@ export class TileMap {
* @param {number} y
* @returns {boolean}
*/
behavesLikeFloor(x, y) {
isFloorLike(x, y) {
x |= 0;
y |= 0;