mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-03 08:00:45 +00:00
1b76c46bc5
GameRecords also now include PlayerStats
9 lines
288 B
TypeScript
9 lines
288 B
TypeScript
import { AllPlayersStats, PlayerStats } from "../Schemas";
|
|
import { NukeType, PlayerID } from "./Game";
|
|
|
|
export interface Stats {
|
|
increaseNukeCount(sender: PlayerID, target: PlayerID, type: NukeType): void;
|
|
getPlayerStats(player: PlayerID): PlayerStats;
|
|
stats(): AllPlayersStats;
|
|
}
|