This commit is contained in:
Kim Ravn Hansen
2025-09-29 08:46:57 +02:00
parent f927971395
commit 8f458fbc34
5 changed files with 107 additions and 98 deletions

View File

@@ -33,7 +33,7 @@ export class Tile {
}
}
get isCollision() {
get collision() {
return this.wall || this.sprite;
}
}
@@ -70,6 +70,7 @@ export const defaultLegend = Object.freeze({
minimapColor: "#f00",
traversable: false,
wall: false,
sprite: true,
}),
//