Package net.dermetfan.gdx.physics.box2d
Class Box2DUtils.ShapeCache
java.lang.Object
net.dermetfan.gdx.physics.box2d.Box2DUtils.ShapeCache
- Enclosing class:
 - Box2DUtils
 
public static class Box2DUtils.ShapeCache
extends java.lang.Object
cached method results
- 
Field Summary
 - 
Constructor Summary
Constructors Constructor Description ShapeCache(float[] vertices, float width, float height, float minX, float maxX, float minY, float maxY) - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Field Details
- 
vertices
public final float[] vertices- See Also:
 Box2DUtils.vertices0(Shape)
 - 
width
public final float width- See Also:
 Box2DUtils.width0(Shape)
 - 
height
public final float height- See Also:
 Box2DUtils.height0(Shape)
 - 
minX
public final float minX- See Also:
 Box2DUtils.minX0(Shape)
 - 
maxX
public final float maxX- See Also:
 Box2DUtils.maxX0(Shape)
 - 
minY
public final float minY- See Also:
 Box2DUtils.minY0(Shape)
 - 
maxY
public final float maxY- See Also:
 Box2DUtils.minY0(Shape)
 
 - 
 - 
Constructor Details
- 
ShapeCache
public ShapeCache(float[] vertices, float width, float height, float minX, float maxX, float minY, float maxY)- Parameters:
 vertices- theBox2DUtils.vertices(com.badlogic.gdx.physics.box2d.Shape)width- theBox2DUtils.width(com.badlogic.gdx.physics.box2d.Shape)height- theBox2DUtils.height(com.badlogic.gdx.physics.box2d.Shape)minX- theBox2DUtils.minX(com.badlogic.gdx.physics.box2d.Shape)maxX- theBox2DUtils.maxX(com.badlogic.gdx.physics.box2d.Shape)minY- theBox2DUtils.minY(com.badlogic.gdx.physics.box2d.Shape)maxY- theBox2DUtils.maxX(com.badlogic.gdx.physics.box2d.Shape)
 
 -