class flixel.addons.ui.FlxUICursor extends FlxUISprite

Available on all platforms

Cursor object that you can use to "click" on interface elements using a keyboard or gamepad * TODO: need to support gamepad and/or deal with absence of mouse * @author

Class Fields

static var INPUT_GAMEPAD:Int

static var INPUT_KEYS:Int

static var INPUT_NONE:Int

Instance Fields

function new(Callback:String ->IFlxUIWidget ->Void, ?InputMethod:Int = 1, ?DefaultKeys:Int = 1, ?Asset:Dynamic = null):Void

function addWidget(widget:IFlxUIWidget):Void

function destroy():Void

function removeWidget(widget:IFlxUIWidget):Bool

function setDefaultKeys(code:Int):Void

Set the default key layout quickly using a constant. *

code

KEYSDEFAULTTAB, ..._WASD, etc, combine with "|" operator

function update():Void