add South America map (#184)

This commit is contained in:
evanpelle
2025-03-08 12:11:34 -08:00
committed by GitHub
parent b77bc46a80
commit c99cec8f0b
10 changed files with 250 additions and 1 deletions
+1
View File
@@ -14,6 +14,7 @@ export const MapDescription: Record<keyof typeof GameMapType, string> = {
Africa: "Africa",
Asia: "Asia",
Mars: "Mars",
SouthAmerica: "South America",
};
@customElement("map-display")
@@ -137,7 +137,6 @@ export class EventsDisplay extends LitElement implements Layer {
this.outgoingBoats = myPlayer
.units()
.filter((u) => u.type() === UnitType.TransportShip);
console.log("loan", this.outgoingBoats);
this.requestUpdate();
}
+3
View File
@@ -3,6 +3,7 @@ import oceania from "../../../resources/maps/Oceania.png";
import europe from "../../../resources/maps/Europe.png";
import mena from "../../../resources/maps/Mena.png";
import northAmerica from "../../../resources/maps/NorthAmerica.png";
import southAmerica from "../../../resources/maps/SouthAmerica.png";
import blackSea from "../../../resources/maps/BlackSea.png";
import africa from "../../../resources/maps/Africa.png";
import asia from "../../../resources/maps/Asia.png";
@@ -22,6 +23,8 @@ export function getMapsImage(map: GameMapType): string {
return mena;
case GameMapType.NorthAmerica:
return northAmerica;
case GameMapType.SouthAmerica:
return southAmerica;
case GameMapType.BlackSea:
return blackSea;
case GameMapType.Africa: