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