Ramu 0.7b doc
class
SimpleSpritesheetButton : SimpleButtonBase
Description
A simple spritesheet button.
Constructor Parameters
int
x: Position in x.int
x: Position in y.int
w: Width.int
h: Height.Image Object
img: The image.Rect
rectNormal: Default rect.Rect
rectHover: Rect on hover. (optional, default is null)Rect
rectClick: Rect on click. (optional, default is null)new SimpleSpritesheetButton(30, 30, 50, 50, img, rectNormal, rectHover, rectClick);
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