| Package | Description |
|---|---|
| net.dermetfan.utils.libgdx.box2d |
| Modifier and Type | Class and Description |
|---|---|
static class |
Chain.CopyBuilder
|
static class |
Chain.DefBuilder
|
static class |
Chain.DefShapeBuilder
|
static class |
Chain.JointDefCopyBuilder
a
Chain.CopyBuilder that uses a JointDef in Chain.JointDefCopyBuilder.createConnection(Body, int, Body, int) |
| Modifier and Type | Field and Description |
|---|---|
private Chain.Builder |
Chain.builder
the
Chain.Builder used for modifications of this Chain |
| Modifier and Type | Method and Description |
|---|---|
Chain.Builder |
Chain.getBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Chain.Connection |
Chain.createConnection(int segmentIndex1,
int segmentIndex2,
Chain.Builder builder)
Creates a
Chain.Connection using the Chain.Builder passing the correct parameters to createConnection(Body, int, Body, int) specified by the given indices. |
com.badlogic.gdx.physics.box2d.Body |
Chain.createSegment(int index,
Chain.Builder builder)
Creates a
segment using the given Chain.Builder passing the correct parameters to createSegment(int, int, Chain) specified by the given index. |
com.badlogic.gdx.physics.box2d.Body |
Chain.extend(Chain.Builder builder)
|
Chain |
Chain.extend(int length,
Chain.Builder builder)
|
void |
Chain.setBuilder(Chain.Builder builder) |
| Constructor and Description |
|---|
Chain(Chain.Builder builder) |
Chain(Chain.Builder builder,
com.badlogic.gdx.physics.box2d.Body... segments)
creates a new Chain with the given
segments |
Chain(int length,
Chain.Builder builder)
creates a new Chain and
builds it to the given length |
Chain(int length,
Chain.Builder builder,
boolean build)
|