mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-25 03:44:36 +00:00
5d9b62da4d
## Description: Create mini map option <img width="741" height="234" alt="Screenshot 2025-09-25 at 4 47 47 PM" src="https://github.com/user-attachments/assets/6c442698-8e3b-44d5-b07e-c4f0a916c3bc" /> ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
15 lines
386 B
TypeScript
15 lines
386 B
TypeScript
import { GameMapType } from "./Game";
|
|
import { MapManifest } from "./TerrainMapLoader";
|
|
|
|
export interface GameMapLoader {
|
|
getMapData(map: GameMapType): MapData;
|
|
}
|
|
|
|
export interface MapData {
|
|
mapBin: () => Promise<Uint8Array>;
|
|
map4xBin: () => Promise<Uint8Array>;
|
|
map16xBin: () => Promise<Uint8Array>;
|
|
manifest: () => Promise<MapManifest>;
|
|
webpPath: () => Promise<string>;
|
|
}
|