public interface MoverServices
extends com.b3dgs.lionengine.game.pathfinding.Pathfindable
Modifier and Type | Method and Description |
---|---|
com.b3dgs.lionengine.game.Orientation |
getMovementOrientation()
Get the current orientation when moving.
|
void |
pointTo(int tx,
int ty)
Adjust orientation to face to specified tile.
|
void |
pointTo(com.b3dgs.lionengine.game.Tiled tiled)
Adjust orientation to face to specified entity.
|
void |
setDestination(com.b3dgs.lionengine.game.Tiled tiled)
Assign a specified location; will move automatically until reach it.
|
clearIgnoredId, clearSharedPathIds, getLocationInTileX, getLocationInTileY, getMoveX, getMoveY, getSpeedX, getSpeedY, isDestinationReached, isIgnoredId, isMoving, isPathAvailable, setDestination, setDestination, setIgnoreId, setLocation, setSharedPathIds, setSpeed, stopMoves, updateMoves
com.b3dgs.lionengine.game.Orientation getMovementOrientation()
void setDestination(com.b3dgs.lionengine.game.Tiled tiled)
tiled
- The tiled to reachvoid pointTo(int tx, int ty)
tx
- The horizontal tile to face.ty
- The vertical tile to face.void pointTo(com.b3dgs.lionengine.game.Tiled tiled)
tiled
- The tiled to face to.