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

    Interface TechniqueBarProps

    Props for TechniqueBar component.

    interface TechniqueBarProps {
        cooldowns: ReadonlyMap<string, number>;
        isMobile: boolean;
        onTechniqueHover: (technique: Technique | null) => void;
        onTechniqueSelect: (index: number) => void;
        player: PlayerState;
        screenHeight: number;
        screenWidth: number;
        selectedIndex: number;
        techniques: readonly Technique[];
    }
    Index

    Properties

    cooldowns: ReadonlyMap<string, number>

    Active cooldowns map (techniqueId -> remaining ms)

    isMobile: boolean

    Whether rendering for mobile device

    onTechniqueHover: (technique: Technique | null) => void

    Callback when hovering technique (for tooltip)

    onTechniqueSelect: (index: number) => void

    Callback when technique is selected

    player: PlayerState

    Player state with resources

    screenHeight: number

    Screen height for positioning

    screenWidth: number

    Screen width for positioning

    selectedIndex: number

    Index of currently selected technique

    techniques: readonly Technique[]

    Available techniques for player