Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • KeyBindManager

Index

Methods

  • registerKeyControl(key: string, description: string, onClick: () => any, onReleased?: () => any): string
  • description

    Set a keyboard key mapper to a function. This function also allows user to change their keybind on pause menu settings.

    Parameters

    • key: string
    • description: string
    • onClick: () => any
        • (): any
        • Returns any

    • onReleased: () => any = ...
        • (): any
        • Returns any

    Returns string

Generated using TypeDoc