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