| Package | Description |
|---|---|
| net.dermetfan.utils.libgdx.box2d |
| Modifier and Type | Method and Description |
|---|---|
Chain |
Chain.extend(int length)
|
Chain |
Chain.extend(int length,
Chain.Builder builder)
|
Chain |
Chain.split(Chain.Connection connection) |
Chain |
Chain.split(int connectionIndex)
splits this Chain at the given index and returns a new Chain consisting of the
segments up to the given index |
| Modifier and Type | Method and Description |
|---|---|
com.badlogic.gdx.physics.box2d.Body |
Chain.Builder.createSegment(int index,
int length,
Chain chain)
creates a segment that is going to be added to
segments |
com.badlogic.gdx.physics.box2d.Body |
Chain.DefBuilder.createSegment(int index,
int length,
Chain chain) |
com.badlogic.gdx.physics.box2d.Body |
Chain.DefShapeBuilder.createSegment(int index,
int length,
Chain chain)
creates a
segment using Chain.DefShapeBuilder.bodyDef, Chain.DefShapeBuilder.shape and Chain.DefShapeBuilder.density |
com.badlogic.gdx.physics.box2d.Body |
Chain.CopyBuilder.createSegment(int index,
int length,
Chain chain) |
| Constructor and Description |
|---|
Chain(Chain other)
creates a shallow copy of the given
Chain instance |