new(imagePath:String, text:String)
@:value(true)animationOnClick:Bool = true
button:UISprite
text:UIText
@:value(1)textColorLerp:Float = 1
textTweenColor:FlxInterpolateColor
onClick:() ‑> Void
@:value({ extra : false })pressAnimation(extra:Bool = false):Void
@:value(true)autoAlpha:Bool = true
@:value(true)canBeHovered:Bool = true
@:value(ARROW)cursor:MouseCursor = ARROW
focused:Bool
@:value(null)hoverCallback:() ‑> Void = null
@:value(false)hovered:Bool = false
@:value(false)hoveredByChild:Bool = false
@:value([])members:Array<FlxBasic> = []
@:value(false)pressed:Bool = false
@:value(true)selectable:Bool = true
drawMembers():Void
drawSuper():Void
onHovered():Void
Called whenever the sprite is being hovered by the mouse.
updateButton():Void
updateButtonHandler():Void