public interface Orientable
Orientation
Modifier and Type | Method and Description |
---|---|
Orientation |
getOrientation()
Get the current orientation.
|
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 |
setOrientation(Orientation orientation)
Set the orientation to use.
|
void 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.void setOrientation(Orientation orientation)
orientation
- The orientation to use.Orientation getOrientation()
Copyright © 2016 Byron 3D Games Studio. All rights reserved.