This commit is contained in:
Kim Ravn Hansen
2025-09-28 15:24:23 +02:00
parent 2053dd3113
commit f927971395
3 changed files with 11 additions and 28 deletions

View File

@@ -32,6 +32,10 @@ export class Tile {
}
}
}
get isCollision() {
return this.wall || this.sprite;
}
}
export const defaultLegend = Object.freeze({