Merge pull request #1477 from Ganom/grab-poly-for-game-objects

mixins: add method for grabbing game object polys.
This commit is contained in:
Kyle
2019-08-29 12:55:12 +01:00
committed by GitHub
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.
*