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