Package | Description |
---|---|
com.badlogic.gdx.physics.box2d |
Modifier and Type | Field and Description |
---|---|
BodyDef.BodyType |
BodyDef.type
The body type: static, kinematic, or dynamic.
|
Modifier and Type | Method and Description |
---|---|
BodyDef.BodyType |
Body.getType()
Get the type of this body.
|
static BodyDef.BodyType |
BodyDef.BodyType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BodyDef.BodyType[] |
BodyDef.BodyType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Body.setType(BodyDef.BodyType type)
Set the type of this body.
|