Package net.dermetfan.gdx.physics.box2d
Class Box2DUtils.PreconditionCheck.InvalidPolyShapeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
net.dermetfan.gdx.physics.box2d.Box2DUtils.PreconditionCheck.InvalidPolyShapeException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Box2DUtils.PreconditionCheck.InvalidChainShapeException
,Box2DUtils.PreconditionCheck.InvalidPolygonShapeException
- Enclosing class:
- Box2DUtils.PreconditionCheck
public abstract static class Box2DUtils.PreconditionCheck.InvalidPolyShapeException
extends java.lang.IllegalArgumentException
indicates that a poly shape cannot be created from these vertices
- Since:
- 0.11.0
- See Also:
- Serialized Form
-
Field Summary
-
Method Summary
Modifier and Type Method Description abstract com.badlogic.gdx.physics.box2d.Shape.Type
getType()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
vertices
public float[] verticesthe vertices of the shape -
offset
public int offset -
length
public int length
-
-
Method Details
-
getType
public abstract com.badlogic.gdx.physics.box2d.Shape.Type getType()- Returns:
- the Type of the Shape
-