~starkingdoms/starkingdoms

ref: b76f877509b1fcef3bfcb3f986bf7ab6ac8d0a54 starkingdoms/starkingdoms-client/src/planet_colors.ts -rw-r--r-- 198 bytes
b76f8775TerraMaster85 Cool double parallax and the texture tweaks to make it happen 1 year, 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
import { PlanetType } from "./protocol.ts";

export function planet_color(type: PlanetType): string {
  if (type === PlanetType.Earth) {
    return "limegreen";
  } else {
    return "white";
  }
}