Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIBox2DGearJoint Class Reference
Inheritance diagram for MOAIBox2DGearJoint:
MOAIBox2DJoint

List of all members.

Function List

  getJointA
  getJointB
  getRatio
  setRatio

Function Documentation

See Box2D documentation.


function getJointA ( MOAIBox2DGearJoint self )
Parameters:
self ( MOAIBox2DGearJoint )
Returns:
jointA ( MOAIBox2DJoint )

See Box2D documentation.


function getJointB ( MOAIBox2DGearJoint self )
Parameters:
self ( MOAIBox2DGearJoint )
Returns:
jointB ( MOAIBox2DJoint )

See Box2D documentation.


function getRatio ( MOAIBox2DGearJoint self )
Parameters:
self ( MOAIBox2DGearJoint )
Returns:
ratio ( number )

See Box2D documentation.


function setRatio ( MOAIBox2DGearJoint self [, number ratio ] )
Parameters:
self ( MOAIBox2DGearJoint )
ratio ( number ) Optional. Default value is 0.
Returns:
nil