Class: MG::LoadingBar
Overview
A loading bar widget.
Instance Attribute Summary collapse
-
#progress ⇒ Integer
The progress direction of the slider, as a percentage value from
1
to100
.
Attributes inherited from Node
#alpha, #anchor_point, #color, #name, #position, #rotation, #scale, #size, #z_index
Instance Method Summary collapse
-
#load_texture(value) ⇒ self
Load texture for loading bar.
Methods inherited from Widget
#enabled=, #enabled?, #highlighted=, #highlighted?, #on_touch, #touch_enabled=, #touch_enabled?
Methods inherited from Node
#add, #children, #clear, #delete, #delete_from_parent, #intersects?, #number_of_running_actions, #parent, #run_action, #schedule, #schedule_once, #stop_action, #stop_all_actions, #unschedule, #visible=, #visible?
Instance Attribute Details
#progress ⇒ Integer
Returns the progress direction of the slider, as a percentage value from 1
to 100
.
1618 1619 1620 |
# File 'doc/API_reference.rb', line 1618 def progress @progress end |
Instance Method Details
#load_texture(value) ⇒ self
Load texture for loading bar.
1623 |
# File 'doc/API_reference.rb', line 1623 def load_texture(value); end |