mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-07 22:50:38 +00:00
working
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user