src/core/game/Game.ts

This commit is contained in:
Scott Anderson
2025-05-16 16:42:29 -04:00
parent eb89e5c348
commit 03cef7ff06
+2 -2
View File
@@ -198,7 +198,7 @@ export const nukeTypes = [
UnitType.HydrogenBomb,
UnitType.MIRVWarhead,
UnitType.MIRV,
] as UnitType[];
] as const satisfies UnitType[];
export type NukeType = (typeof nukeTypes)[number];
@@ -513,7 +513,7 @@ export interface Player {
}
export interface Game extends GameMap {
expireAlliance(alliance: Alliance);
expireAlliance(alliance: Alliance): void;
// Map & Dimensions
isOnMap(cell: Cell): boolean;
width(): number;