Ramu 0.7b doc
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
- canDestroy
- canUpdate
- destroy
- drawableClick
- drawableHover
- drawableImage
- drawableNormal
- drawableObj
- enabled
- height
- setEnabled
- setOnClick
- setOnHoverEnter
- setOnHoverExit
- setOnHoverStay
- setRect
- onClick
- onHoverEnter
- onHoverExit
- onHoverStay
- setActive
- start
- tag
- toRect
- update
- updatePriority
- width
- x
- y