api: add getConvexHull to GroundObject

This commit is contained in:
Adam
2019-10-02 20:55:47 -04:00
parent b22fc6b301
commit 5f745be26d

View File

@@ -24,10 +24,20 @@
*/ */
package net.runelite.api; package net.runelite.api;
import java.awt.Shape;
/** /**
* Represents an object on the ground of a tile. * Represents an object on the ground of a tile.
*/ */
public interface GroundObject extends TileObject public interface GroundObject extends TileObject
{ {
Renderable getRenderable(); Renderable getRenderable();
/**
* Gets the convex hull of the objects model.
*
* @return the convex hull
* @see net.runelite.api.model.Jarvis
*/
Shape getConvexHull();
} }