Class: MG::Parallax
Instance Attribute Summary
Attributes inherited from Node
#alpha, #anchor_point, #color, #name, #position, #rotation, #scale, #size, #z_index
Instance Method Summary collapse
-
#add(node, zpos, parallax_ratio, position_offset) ⇒ Node
Adds the given Node object to the receiver and configure it in the parallax view.
Methods inherited from Node
#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 Method Details
#add(node, zpos, parallax_ratio, position_offset) ⇒ Node
Adds the given Node object to the receiver and configure it in the parallax view.
838 |
# File 'doc/API_reference.rb', line 838 def add(node, zpos, parallax_ratio, position_offset); end |