mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-27 22:21:07 +00:00
add radiation
This commit is contained in:
@@ -75,6 +75,10 @@ export class TerritoryLayer implements Layer {
|
||||
}
|
||||
|
||||
paintTerritory(tile: Tile) {
|
||||
if (tile.hasFallout()) {
|
||||
this.paintCell(tile.cell(), this.theme.falloutColor(), 150)
|
||||
return
|
||||
}
|
||||
if (!tile.hasOwner()) {
|
||||
this.clearCell(tile.cell())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user