Merge pull request #61 from NewHappyRabbit/maps

Added Mars. Excluded from public lobby playlist. Changed Africa image…
This commit is contained in:
evanpelle
2025-02-20 13:30:17 -08:00
committed by GitHub
11 changed files with 26983 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
BlackSea: "Black Sea",
Africa: "Africa",
Asia: "Asia",
Mars: "Mars",
};
@customElement("map-display")
+3
View File
@@ -6,6 +6,7 @@ import northAmerica from "../../../resources/maps/NorthAmerica.png";
import blackSea from "../../../resources/maps/BlackSea.png";
import africa from "../../../resources/maps/Africa.png";
import asia from "../../../resources/maps/Asia.png";
import mars from "../../../resources/maps/Mars.png";
import { GameMapType } from "../../core/game/Game";
@@ -27,6 +28,8 @@ export function getMapsImage(map: GameMapType): string {
return africa;
case GameMapType.Asia:
return asia;
case GameMapType.Mars:
return mars;
default:
return "";
}