Package | Description |
---|---|
com.b3dgs.lionengine.game |
Main types and tools related to game design.
|
com.b3dgs.lionengine.game.collision.tile |
Object and map collision handling.
|
com.b3dgs.lionengine.game.object.trait.orientable |
Describe the
Orientation capacity. |
com.b3dgs.lionengine.game.pathfinding |
A-Star algorithm implementation, allowing to search a path on a
MapTilePath . |
com.b3dgs.lionengine.game.tile |
Tile based handling with
TileFeature layer that will allow to customize the
services provided by the tile dynamically. |
Modifier and Type | Method and Description |
---|---|
static Orientation |
Orientation.get(int stx,
int sty,
int dtx,
int dty)
Get the orientation depending of the current tile index and destination tile index.
|
static Orientation |
Orientation.next(Orientation from,
int offset)
Get the next orientation from the source plus an offset.
|
static Orientation |
Orientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
Orientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Orientation |
Orientation.next(Orientation from,
int offset)
Get the next orientation from the source plus an offset.
|
Modifier and Type | Method and Description |
---|---|
Map<Orientation,Collection<String>> |
CollisionConstraint.getConstraints()
Get the constraints defined.
|
Modifier and Type | Method and Description |
---|---|
void |
CollisionConstraint.add(Orientation orientation,
String group)
Add the group constraint at the specified orientation.
|
Collection<String> |
CollisionConstraint.getConstraints(Orientation orientation)
Get the constraints defined for the specified orientation.
|
boolean |
CollisionConstraint.has(Orientation orientation,
String group)
Check if constraint is defined for the group at the specified orientation.
|
Modifier and Type | Method and Description |
---|---|
Orientation |
OrientableModel.getOrientation() |
Orientation |
Orientable.getOrientation()
Get the current orientation.
|
Modifier and Type | Method and Description |
---|---|
void |
OrientableModel.setOrientation(Orientation orientation) |
void |
Orientable.setOrientation(Orientation orientation)
Set the orientation to use.
|
Modifier and Type | Method and Description |
---|---|
Orientation |
PathfindableModel.getOrientation() |
Modifier and Type | Method and Description |
---|---|
void |
PathfindableModel.setOrientation(Orientation orientation) |
Modifier and Type | Method and Description |
---|---|
Orientation |
TileConstraint.getOrientation()
Get the constraint orientation.
|
Modifier and Type | Method and Description |
---|---|
static Map<TileRef,Map<Orientation,TileConstraint>> |
TileConstraintsConfig.imports(Media config)
Create the collision constraint data from node.
|
Constructor and Description |
---|
TileConstraint(Orientation orientation)
Create constraint.
|
Copyright © 2016 Byron 3D Games Studio. All rights reserved.