Class GameObject

  • All Implemented Interfaces:
    Identifiable, Interactable, Positionable

    public class GameObject
    extends Entity
    This class represents a game object in Old School Runescape. It contains methods to retrieve information such as the object's ID, name, actions, position, dimensions, model, and orientation. It also provides utility methods to get the surrounding tiles and transform IDs of the object.
    • Constructor Detail

    • Method Detail

      • getReferenceName

        public java.lang.String getReferenceName()
      • getID

        public int getID()
      • getImpostorID

        public int getImpostorID()
      • getName

        public java.lang.String getName()
      • getColoredName

        public java.lang.String getColoredName()
      • getActions

        public java.lang.String[] getActions()
      • getPlane

        public int getPlane()
      • getWorldX

        public int getWorldX()
      • getWorldY

        public int getWorldY()
      • getSceneX

        public int getSceneX()
      • getSceneY

        public int getSceneY()
      • getLocalX

        public int getLocalX()
      • getLocalY

        public int getLocalY()
      • getRegionX

        public int getRegionX()
      • getRegionY

        public int getRegionY()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getStartX

        public int getStartX()
      • getStartY

        public int getStartY()
      • getEndX

        public int getEndX()
      • getEndY

        public int getEndY()
      • getConfig

        public int getConfig()
      • getTiles

        public java.util.List<Positionable> getTiles​(int radius)
      • getTransformIds

        public int[] getTransformIds()
      • equals

        public boolean equals​(GameObject object)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object