GraphicObject

public class GraphicObject implements Positionable, Identifiable

Represents a special type of graphical object. Not the same as GameObject.

See also

org.tribot.script.sdk.query.Query

Query#graphicObjects()

Constructors

GraphicObject
Link copied to clipboard
void GraphicObject(RSGraphicObject graphicObject)

Functions

adjustCameraTo
Link copied to clipboard
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
equals
Link copied to clipboard
boolean equals(Object o)
getHeight
Link copied to clipboard
int getHeight()
getId
Link copied to clipboard
int getId()
Gets the ID of the entity
getTile
Link copied to clipboard
WorldTile getTile()
Gets the WorldTile of this entity/position
hashCode
Link copied to clipboard
int hashCode()
toString
Link copied to clipboard
String toString()