org.jbox2d.builders
Class PolygonShapeBuilder

java.lang.Object
  extended by org.jbox2d.builders.BodyBuilder<PolygonShapeBuilder,PolygonShape>
      extended by org.jbox2d.builders.PolygonShapeBuilder

public class PolygonShapeBuilder
extends BodyBuilder<PolygonShapeBuilder,PolygonShape>

Author:
eppleton

Field Summary
 
Fields inherited from class org.jbox2d.builders.BodyBuilder
bodyDef, fixtureDef, shape, world
 
Constructor Summary
PolygonShapeBuilder(World world)
           
 
Method Summary
 PolygonShapeBuilder vertices(float... coordinates)
           
 PolygonShapeBuilder vertices(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

PolygonShapeBuilder

public PolygonShapeBuilder(World world)
Method Detail

vertices

public PolygonShapeBuilder vertices(Vec2[] vertices)

vertices

public PolygonShapeBuilder vertices(float... coordinates)


Copyright © 2012. All Rights Reserved.