UNPKG

phaser4-rex-plugins

Version:
30 lines (25 loc) 713 B
export default MouseWheelToUpDown; declare namespace MouseWheelToUpDown { interface IConfig { bounds?: Phaser.Geom.Rectangle, sensitiveDistance?: number, } } declare class MouseWheelToUpDown { constructor( scene: Phaser.Scene, config?: MouseWheelToUpDown.IConfig ) setEnable(enable?: boolean): this; toggleEnable(): this; enable: boolean; createCursorKeys(): { up: Phaser.Input.Keyboard.Key, down: Phaser.Input.Keyboard.Key, left: Phaser.Input.Keyboard.Key, right: Phaser.Input.Keyboard.Key, }; readonly up: boolean; readonly down: boolean; readonly nokey: boolean; }