Class: MG::Slider
Properties (collapse)
-
- (Integer) progress
The progress direction of the slider, as a percentage value from
1
to100
.
Attributes inherited from Widget
Attributes inherited from Node
#alpha, #anchor_point, #color, #name, #position, #rotation, #scale, #size, #visible?, #z_index
Constructors (collapse)
-
- (Slider) initialize
constructor
Creates a new Slider widget.
Methods inherited from Widget
Methods inherited from Node
#add, #children, #clear, #delete, #delete_from_parent, #intersects?, #parent
Constructor Details
- (Slider) initialize
Creates a new Slider widget.
772 |
# File 'motion-game', line 772 def initialize; end |
Instance Attribute Details
- (Integer) progress
Returns the progress direction of the slider, as a percentage value from
1
to 100
.
779 780 781 |
# File 'motion-game', line 779 def progress @progress end |