org.jbox2d.builders
Class JointBuilder<K extends JointBuilder<K,T>,T extends JointDef>

java.lang.Object
  extended by org.jbox2d.builders.JointBuilder<K,T>
Direct Known Subclasses:
RevoluteJointBuilder

public abstract class JointBuilder<K extends JointBuilder<K,T>,T extends JointDef>
extends java.lang.Object

Author:
eppleton

Field Summary
protected  T jointDef
           
protected  World world
           
 
Constructor Summary
protected JointBuilder(World world, T jointDef)
           
 
Method Summary
 K bodyA(Body a)
           
 K bodyB(Body b)
           
 Joint build()
           
 K collideConnected(boolean coco)
           
 K type(JointType type)
           
 K userData(java.lang.Object userData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

world

protected World world

jointDef

protected T extends JointDef jointDef
Constructor Detail

JointBuilder

protected JointBuilder(World world,
                       T jointDef)
Method Detail

bodyA

public K bodyA(Body a)

bodyB

public K bodyB(Body b)

userData

public K userData(java.lang.Object userData)

type

public K type(JointType type)

collideConnected

public K collideConnected(boolean coco)

build

public Joint build()


Copyright © 2012. All Rights Reserved.