Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • KeyboardUtils

Index

Properties

Static currentKeys

currentKeys: Keys[] = []

当前帧按键状态

Static Private keyStatusKeys

keyStatusKeys: Keys[] = []

Static previousKeys

previousKeys: Keys[] = []

上一帧按键状态

Methods

Static destroy

  • destroy(): void

Static init

  • init(): void

Static Private onKeyDownHandler

  • onKeyDownHandler(event: KeyboardEvent): void

Static Private onKeyUpHandler

  • onKeyUpHandler(event: KeyboardEvent): void

Static update

  • update(): void

Generated using TypeDoc