mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-15 23:30:09 +00:00
Adding Iceland map (#323)
This is a map of Iceland. It has 8 nations - the 8 regions of Iceland.         
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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 "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user