Duwibi
2025-03-24 15:44:57 -07:00
committed by GitHub
parent 6a82b8eefc
commit ab44751b08
11 changed files with 65 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
Britannia: "Britannia",
GatewayToTheAtlantic: "Gateway to the Atlantic",
Australia: "Australia",
Iceland: "Iceland",
};
@customElement("map-display")
+3
View File
@@ -11,6 +11,7 @@ import mars from "../../../resources/maps/MarsThumb.png";
import britannia from "../../../resources/maps/BritanniaThumb.png";
import gatewayToTheAtlantic from "../../../resources/maps/GatewayToTheAtlanticThumb.png";
import australia from "../../../resources/maps/AustraliaThumb.png";
import iceland from "../../../resources/maps/IcelandThumb.png";
import { GameMapType } from "../../core/game/Game";
@@ -42,6 +43,8 @@ export function getMapsImage(map: GameMapType): string {
return gatewayToTheAtlantic;
case GameMapType.Australia:
return australia;
case GameMapType.Iceland:
return iceland;
default:
return "";
}