Minor Namming Fixes

This commit is contained in:
2025-07-13 21:46:51 -03:00
parent 2c93b65b3d
commit 6ebf591d64
9 changed files with 8 additions and 12 deletions

View File

@@ -0,0 +1,5 @@
export const checkPositionWalkable = (pos: RoomPosition) => {
// Check if the position is not obstructed by a wall
const terrain = pos.lookFor(LOOK_TERRAIN);
return terrain.length === 0 || terrain[0] !== 'wall'
}