icecap color
This commit is contained in:
parent
9834130a49
commit
304134d15a
1 changed files with 8 additions and 1 deletions
|
@ -86,9 +86,16 @@ function renderIslands(islands: IslandGrid, cx: CanvasRenderingContext2D) {
|
|||
case 3:
|
||||
cx.fillStyle = "#008800";
|
||||
break;
|
||||
default:
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
case 7:
|
||||
case 8:
|
||||
cx.fillStyle = "#666666";
|
||||
break;
|
||||
default:
|
||||
cx.fillStyle = "#88aaff";
|
||||
break;
|
||||
}
|
||||
cx.fillRect(x, y, 1, 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue