Package | Description |
---|---|
com.b3dgs.lionengine.game |
Main types and tools related to game design.
|
com.b3dgs.lionengine.game.object.trait.body |
Describe the gravitational force support.
|
com.b3dgs.lionengine.game.object.trait.transformable |
Describe the transformation capacity of an object by using a
Direction to change
its location. |
Modifier and Type | Class and Description |
---|---|
class |
Force
Represents a 2D vector force, using double precision.
|
Modifier and Type | Field and Description |
---|---|
static Direction |
Direction.ZERO
Zero direction.
|
Modifier and Type | Method and Description |
---|---|
void |
Force.addDirection(Direction direction)
Increase direction with input value.
|
void |
MoverModel.moveLocation(double extrp,
Direction direction,
Direction... directions) |
void |
MoverModel.moveLocation(double extrp,
Direction direction,
Direction... directions) |
void |
Mover.moveLocation(double extrp,
Direction direction,
Direction... directions)
Move location using different directions.
|
void |
Mover.moveLocation(double extrp,
Direction direction,
Direction... directions)
Move location using different directions.
|
void |
Force.setDirection(Direction direction)
Set direction.
|
void |
Force.setDirectionMaximum(Direction max)
Set the maximum reachable direction.
|
void |
Force.setDirectionMinimum(Direction min)
Set the minimum reachable direction.
|
Modifier and Type | Method and Description |
---|---|
void |
BodyModel.setVectors(Direction... vectors) |
void |
Body.setVectors(Direction... vectors)
Set forces involved in gravity and movement.
|
Modifier and Type | Method and Description |
---|---|
void |
TransformableModel.moveLocation(double extrp,
Direction direction,
Direction... directions) |
void |
TransformableModel.moveLocation(double extrp,
Direction direction,
Direction... directions) |
Copyright © 2016 Byron 3D Games Studio. All rights reserved.