Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.7.9
    Preparing search index...

    Interface UseCombatTimerConfig

    Configuration for the combat timer hook

    interface UseCombatTimerConfig {
        initialTime: number;
        isPaused: boolean;
        onTimeUp: () => void;
        resetKey?: string;
        urgentThreshold?: number;
        warningThreshold?: number;
    }
    Index

    Properties

    initialTime: number

    Initial time in seconds

    isPaused: boolean

    Whether the timer is paused

    onTimeUp: () => void

    Callback when timer reaches 0

    resetKey?: string

    Optional key to force timer reset (e.g., round number)

    urgentThreshold?: number

    Urgent warning threshold in seconds (default: 5)

    warningThreshold?: number

    Warning threshold in seconds (default: 10)