added Mena

This commit is contained in:
Evan
2024-10-30 20:45:08 -07:00
parent 3ab9f3b617
commit 8b76717ef0
6 changed files with 1367 additions and 12 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ export enum Difficulty {
export enum GameMap {
World,
Europe
Europe,
Mena
}
export class Nation {
+7 -3
View File
@@ -1,13 +1,17 @@
import {Cell, GameMap, TerrainType} from './Game';
import { Cell, GameMap, TerrainType } from './Game';
import europeBin from "!!binary-loader!../../../resources/maps/Europe.bin";
import europeInfo from "../../../resources/maps/Europe.json"
import worldBin from "!!binary-loader!../../../resources/maps/WorldMap.bin";
import worldInfo from "../../../resources/maps/WorldMap.json"
import menaBin from "!!binary-loader!../../../resources/maps/Mena.bin"
import menaInfo from "../../../resources/maps/Mena.json"
const maps = new Map()
.set(GameMap.World, {bin: worldBin, info: worldInfo})
.set(GameMap.Europe, {bin: europeBin, info: europeInfo});
.set(GameMap.World, { bin: worldBin, info: worldInfo })
.set(GameMap.Europe, { bin: europeBin, info: europeInfo })
.set(GameMap.Mena, { bin: menaBin, info: menaInfo });
const loadedMaps = new Map<GameMap, TerrainMap>()