cloakfall
    Preparing search index...

    Interface ControlPanel

    What the bar needs from the panel.

    interface ControlPanel {
        button: HTMLButtonElement;
        isOpen: () => boolean;
        panel: HTMLElement;
        setOpen: (open: boolean) => void;
        sync: () => void;
    }
    Index
    button: HTMLButtonElement
    isOpen: () => boolean
    panel: HTMLElement
    setOpen: (open: boolean) => void
    sync: () => void

    Bring the switches up to date with the game's own controls (which there are, and whether each is on).