mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-24 13:52:45 +00:00
src/core/game/Game.ts
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user