This commit is contained in:
evanpelle
2024-08-10 11:32:06 -07:00
parent a3be77dff8
commit ca5cc49763
4 changed files with 78 additions and 85 deletions
-2
View File
@@ -192,8 +192,6 @@ export class GameRenderer {
}
paintTile(tile: Tile) {
// const index = (tile.cell().y * this.gs.width()) + tile.cell().x
// color.toRGB().writeToBuffer(this.imageData.data, index * 4)
let terrainColor = this.theme.terrainColor(tile.terrain())
this.paintCell(tile.cell(), terrainColor)
const owner = tile.owner()