add terrain to map

This commit is contained in:
evanpelle
2024-08-30 22:01:08 -07:00
parent 6aacffc27d
commit 8b2c2a13c0
8 changed files with 133 additions and 6 deletions
+3
View File
@@ -80,6 +80,9 @@ export class PlayerExecution implements Execution {
const tiles = bfs(firstTile, filter)
const modePlayer = this.mg.player(mode)
if (modePlayer == null) {
console.warn('mode player is null')
}
for (const tile of tiles) {
modePlayer.conquer(tile)
}