Class OSRSEntity

    • Method Detail

      • isHovered

        public boolean isHovered()
        Description copied from interface: Interactable
        Gets whether or not this entity is being hovered.
        Specified by:
        isHovered in interface Interactable
        Overrides:
        isHovered in class OSRSCacheModelEntity
        Returns:
        true if the entity is currently being hovered, otherwise false.
      • getModel

        @Nullable
        public @Nullable Model getModel()
        Description copied from interface: Modeled
        Gets the polygon-based model of the entity
        Returns:
        the entities model, otherwise the backup if set, if neither are available null
      • render

        public void render​(java.awt.Graphics2D g2d)
        Description copied from interface: Renderable
        Renders this entity onto the given Graphics2D, use is discouraged
        Specified by:
        render in interface Renderable
        Overrides:
        render in class Entity
      • render

        public void render​(javafx.scene.canvas.GraphicsContext gc)
        Description copied from interface: Renderable
        Renders this entity onto the given GraphicsContext
        Specified by:
        render in interface Renderable
        Overrides:
        render in class Entity
      • toString

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