mixins: add method for grabbing game object polys.

This commit is contained in:
Ganom
2019-08-29 01:27:53 -04:00
parent 201e86a0e0
commit 2ac1d869e9
3 changed files with 121 additions and 6 deletions

View File

@@ -24,8 +24,8 @@
*/
package net.runelite.api;
import net.runelite.api.coords.Angle;
import java.awt.Polygon;
import net.runelite.api.coords.Angle;
/**
* Represents a game object.
@@ -61,6 +61,13 @@ public interface GameObject extends TileObject
*/
Polygon getConvexHull();
/**
* Gets the polygons that make up the game object model.
*
* @return the model polygons
*/
Polygon[] getPolygons();
/**
* Gets the orientation of the object.
*