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

    Interface MobileControlsOverlayProps

    Props for the combined mobile controls overlay

    interface MobileControlsOverlayProps {
        bottom?: number;
        disabled?: boolean;
        onAttack: () => void;
        onBlock: (eventType: ButtonEventType) => void;
        onMove: (direction: Direction | null, eventType: DPadEventType) => void;
        opacity?: number;
    }
    Index

    Properties

    bottom?: number

    Bottom offset in pixels (default: 160 to clear BottomHUD)

    disabled?: boolean

    Whether controls are disabled

    onAttack: () => void

    Callback when attack is pressed

    onBlock: (eventType: ButtonEventType) => void

    Callback when block is pressed/released

    onMove: (direction: Direction | null, eventType: DPadEventType) => void

    Callback when D-Pad direction changes

    opacity?: number

    Opacity (default: 0.85)