This is a useful base class for buttons, as it handles basic tracking of the mouse/pointer states and a disabled state. See
SpriteButton
and
SampleSpriteButton
for sample subclasses.