mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-04 19:31:59 +00:00
add South America map (#184)
This commit is contained in:
@@ -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,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:
|
||||
|
||||
Reference in New Issue
Block a user