public interface MoverServices extends Pathfindable
Modifier and Type | Method and Description |
---|---|
Orientation |
getMovementOrientation()
Get the current orientation when moving.
|
void |
pointTo(int tx,
int ty)
Adjust orientation to face to specified tile.
|
void |
pointTo(Tiled tiled)
Adjust orientation to face to specified entity.
|
void |
setDestination(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
Orientation getMovementOrientation()
void setDestination(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(Tiled tiled)
tiled
- The tiled to face to.Copyright © 2014 Byron 3D Games Studio. All rights reserved.