Package net.dermetfan.gdx.physics.box2d
Class Box2DUtils.PreconditionCheck.InvalidChainShapeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
net.dermetfan.gdx.physics.box2d.Box2DUtils.PreconditionCheck.InvalidPolyShapeException
net.dermetfan.gdx.physics.box2d.Box2DUtils.PreconditionCheck.InvalidChainShapeException
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Box2DUtils.PreconditionCheck
public static class Box2DUtils.PreconditionCheck.InvalidChainShapeException extends Box2DUtils.PreconditionCheck.InvalidPolyShapeException
indicates that a ChainShape cannot be created from this polyline
- Since:
- 0.11.0
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem
the reason why this ChainShape cannot be created -
Field Summary
Fields Modifier and Type Field Description Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem
problem
Fields inherited from class net.dermetfan.gdx.physics.box2d.Box2DUtils.PreconditionCheck.InvalidPolyShapeException
length, offset, vertices
-
Constructor Summary
Constructors Constructor Description InvalidChainShapeException(java.lang.String message, Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem problem, float[] vertices, int offset, int length)
-
Method Summary
Modifier and Type Method Description 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
-
problem
-
-
Constructor Details
-
InvalidChainShapeException
public InvalidChainShapeException(java.lang.String message, Box2DUtils.PreconditionCheck.InvalidChainShapeException.Problem problem, float[] vertices, int offset, int length)
-
-
Method Details
-
getType
public com.badlogic.gdx.physics.box2d.Shape.Type getType()- Specified by:
getType
in classBox2DUtils.PreconditionCheck.InvalidPolyShapeException
- Returns:
- the Type of the Shape
-