Package | Description |
---|---|
com.b3dgs.lionengine.game |
Main types and tools related to game design.
|
com.b3dgs.lionengine.game.feature.tile.map |
Tile based map handling with
Features layer that will allow to customize
the services provided by the map dynamically. |
com.b3dgs.lionengine.game.feature.tile.map.collision |
Object and map collision handling.
|
com.b3dgs.lionengine.game.feature.tile.map.pathfinding |
A-Star algorithm implementation, allowing to search a path on a
MapTilePath . |
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 |
---|---|
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 |
---|---|
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 |
PathfindableModel.getOrientation() |
Modifier and Type | Method and Description |
---|---|
void |
PathfindableModel.setOrientation(Orientation orientation) |
Copyright © 2017 Byron 3D Games Studio. All rights reserved.