Interface Positionable

All Known Implementing Classes:
RSCharacter, RSGroundItem, RSNPC, RSObject, RSPlayer, WalkerTile

public interface Positionable
An interface for position related information regarding sub-classes (Tile position, position of animation, and adjusting the camera to the object)
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the tile position of the entity as provided by the client
    boolean
    Turns the camera to face the entity
  • Method Details

    • getLocation

      WalkerTile getLocation()
      Gets the tile position of the entity as provided by the client
      Returns:
      the tile position of the entity if it exists, else null
    • turnTo

      boolean turnTo()
      Turns the camera to face the entity
      Returns:
      True if the camera has been turned to face the entity