org.jbox2d.builders
Class ChainShapeBuilder

java.lang.Object
  extended by org.jbox2d.builders.BodyBuilder<ChainShapeBuilder,ChainShape>
      extended by org.jbox2d.builders.ChainShapeBuilder

public class ChainShapeBuilder
extends BodyBuilder<ChainShapeBuilder,ChainShape>

Author:
eppleton

Field Summary
 
Fields inherited from class org.jbox2d.builders.BodyBuilder
bodyDef, fixtureDef, shape, world
 
Constructor Summary
ChainShapeBuilder(World world)
           
 
Method Summary
 ChainShapeBuilder chain(float... coordinates)
           
 ChainShapeBuilder chain(Vec2[] vertices)
           
 ChainShapeBuilder loop(float... coordinates)
           
 ChainShapeBuilder loop(Vec2[] vertices)
           
 
Methods inherited from class org.jbox2d.builders.BodyBuilder
active, allowSleep, angle, angularDamping, angularVelocity, awake, build, bullet, density, fixedRotation, friction, gravityScale, linearDamping, position, position, restitution, sensor, type, userData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainShapeBuilder

public ChainShapeBuilder(World world)
Method Detail

chain

public ChainShapeBuilder chain(Vec2[] vertices)

loop

public ChainShapeBuilder loop(Vec2[] vertices)

chain

public ChainShapeBuilder chain(float... coordinates)

loop

public ChainShapeBuilder loop(float... coordinates)


Copyright © 2012. All Rights Reserved.