| Package | Description |
|---|---|
| net.dermetfan.utils.libgdx.box2d |
| Modifier and Type | Field and Description |
|---|---|
private com.badlogic.gdx.utils.Array<Chain.Connection> |
Chain.connections
the
Joints of this Chain |
private com.badlogic.gdx.utils.Array<Chain.Connection> |
Chain.tmpConnections
Warning: This is used by multiple methods and may be modified unexpectedly.
|
| Modifier and Type | Method and Description |
|---|---|
Chain.Connection |
Chain.Builder.createConnection(com.badlogic.gdx.physics.box2d.Body seg1,
int seg1index,
com.badlogic.gdx.physics.box2d.Body seg2,
int seg2index)
connects two segments with each other using a
Chain.Connection |
Chain.Connection |
Chain.DefBuilder.createConnection(com.badlogic.gdx.physics.box2d.Body seg1,
int seg1index,
com.badlogic.gdx.physics.box2d.Body seg2,
int seg2index) |
Chain.Connection |
Chain.DefShapeBuilder.createConnection(com.badlogic.gdx.physics.box2d.Body seg1,
int seg1index,
com.badlogic.gdx.physics.box2d.Body seg2,
int seg2index) |
Chain.Connection |
Chain.JointDefCopyBuilder.createConnection(com.badlogic.gdx.physics.box2d.Body seg1,
int seg1index,
com.badlogic.gdx.physics.box2d.Body seg2,
int seg2index) |
Chain.Connection |
Chain.createConnection(int segmentIndex1,
int segmentIndex2)
creates a new Chain.Connection |
Chain.Connection |
Chain.createConnection(int segmentIndex1,
int segmentIndex2,
Chain.Builder builder)
Creates a
Chain.Connection using the Chain.Builder passing the correct parameters to Chain.Builder.createConnection(Body, int, Body, int) specified by the given indices. |
Chain.Connection |
Chain.getConnection(int index) |
| Modifier and Type | Method and Description |
|---|---|
com.badlogic.gdx.utils.Array<Chain.Connection> |
Chain.getConnections()
Warning: The returned Array is used by other methods and may be modified unexpectedly.
|
| Modifier and Type | Method and Description |
|---|---|
Chain |
Chain.split(Chain.Connection connection) |