Positionable

interface Positionable

Represents an entity with a location on the game map

Inheritors

Functions

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