Interface GameObject

  • All Superinterfaces:
    TileObject

    public interface GameObject
    extends TileObject
    Represents a game object.

    Most object in the RuneScape world are considered as game objects. Things such as trees, anvils, boxes, etc are all game objects.

    • Method Detail

      • sizeX

        int sizeX()
        Get the size of this object, in tiles, on the x axis
        Returns:
      • sizeY

        int sizeY()
        Get the size of this object, in tiles, on the y axis
        Returns:
      • getSceneMinLocation

        Point getSceneMinLocation()
        Gets the minimum x and y scene coordinate pair for this game object.
        Returns:
        the minimum scene coordinate
      • getSceneMaxLocation

        Point getSceneMaxLocation()
        Gets the maximum x and y scene coordinate pair for this game object.

        This value differs from getSceneMinLocation() when the size of the object is more than 1 tile.

        Returns:
        the maximum scene coordinate
      • getConvexHull

        Shape getConvexHull()
        Gets the convex hull of the object's model.
        Returns:
        the convex hull
        See Also:
        Jarvis
      • getOrientation

        Angle getOrientation()
        Gets the orientation of the object.
        Returns:
        the orientation