Positionable

public interface Positionable

Represents an entity with a location on the game map

Functions

adjustCameraTo
Link copied to clipboard
abstract boolean adjustCameraTo()
Moves the camera to a position where the given entity or position is in view.
distance
Link copied to clipboard
int distance()
Determines the distance between this entity/tile and the local player
distanceTo
Link copied to clipboard
int distanceTo(Positionable position)
Determines the distance between this entity/tile and the given entity/tile
getTile
Link copied to clipboard
abstract WorldTile getTile()
Gets the WorldTile of this entity/position

Inheritors

GraphicObject
Link copied to clipboard
Projectile
Link copied to clipboard
Interactable
Link copied to clipboard