| Package | Description |
|---|---|
| com.almasb.fxgl.physics | |
| com.almasb.fxgl.physics.box2d.dynamics |
| Modifier and Type | Method and Description |
|---|---|
void |
PhysicsComponent.setBodyType(BodyType type)
A convenience method to avoid setting body definition
if only a change of body type is required.
|
| Modifier and Type | Method and Description |
|---|---|
BodyType |
BodyDef.getType()
The body type: static, kinematic, or dynamic.
|
BodyType |
Body.getType() |
static BodyType |
BodyType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BodyType[] |
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 |
BodyDef.setType(BodyType type)
The body type: static, kinematic, or dynamic.
|
void |
Body.setType(BodyType type)
Set the type of this body.
|
Copyright © 2018. All rights reserved.