import { SyncBailHook } from "@/hooks/SyncBailHook"; import { PlayerInstanceProperty } from "./player"; import { Logger } from "@/logs"; export type BattleFieldInstance = { players?: { left: PlayerInstanceProperty; right: PlayerInstanceProperty; }; round?: () => void; roundCount?: number; roundHooks?: { roundStart: SyncBailHook; rounding: SyncBailHook; roundEnd: SyncBailHook; [props: string]: SyncBailHook; }; fight?: () => void; hooks?: { init: SyncBailHook; fightStart: SyncBailHook; [props: string]: SyncBailHook; }; logger?: Logger; };