SimpleSpriteButton - HermesPasser/Ramu GitHub Wiki

class SimpleSpriteButton : SimpleButtonBase

Description

A simple sprite button.

Constructor Parameters

  • int x: Position in x.
  • int x: Position in y.
  • int w: Width.
  • int h: Height.
  • Sprite bottonImg: Default image.
  • Sprite buttonHover: Image on hover. (optional, default is null)
  • Sprite buttonClick: Image on click. (optional, default is null)
new SimpleSpriteButton(30, 30, 50, 50, imgNormal, imgHover, imgClick);

Inherited Members