runelite-api: Use more general Shape for clickboxes and convex hulls

This commit is contained in:
Max Weber
2019-09-09 08:19:28 -06:00
parent cd1cf905c4
commit a4cfbc3b42
15 changed files with 45 additions and 41 deletions

View File

@@ -26,6 +26,7 @@ package net.runelite.api;
import java.awt.Graphics2D;
import java.awt.Polygon;
import java.awt.Shape;
import java.awt.image.BufferedImage;
import javax.annotation.Nullable;
import net.runelite.api.annotations.VisibleForDevtools;
@@ -218,7 +219,7 @@ public interface Actor extends Renderable
* @return the convex hull
* @see net.runelite.api.model.Jarvis
*/
Polygon getConvexHull();
Shape getConvexHull();
/**
* Gets the world area that the actor occupies.