From 5f745be26de01207cffa357cac24c91acee9c67b Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 2 Oct 2019 20:55:47 -0400 Subject: [PATCH] api: add getConvexHull to GroundObject --- .../src/main/java/net/runelite/api/GroundObject.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/runelite-api/src/main/java/net/runelite/api/GroundObject.java b/runelite-api/src/main/java/net/runelite/api/GroundObject.java index 8a974cd752..8971aa88bf 100644 --- a/runelite-api/src/main/java/net/runelite/api/GroundObject.java +++ b/runelite-api/src/main/java/net/runelite/api/GroundObject.java @@ -24,10 +24,20 @@ */ package net.runelite.api; +import java.awt.Shape; + /** * Represents an object on the ground of a tile. */ public interface GroundObject extends TileObject { Renderable getRenderable(); + + /** + * Gets the convex hull of the objects model. + * + * @return the convex hull + * @see net.runelite.api.model.Jarvis + */ + Shape getConvexHull(); }