A simple button class that calls a function when clicked by the mouse.
Used with public variable status, means highlighted (usually from mouse over).
Used with public variable status, means not highlighted or pressed.
Creates a new
FlxButton object with a gray background
and a callback function on the UI thread.
The x position of the button.
The y position of the button.
The text that you want to appear on the button.
The function to call whenever the button is clicked.