Merge pull request #1477 from Ganom/grab-poly-for-game-objects
mixins: add method for grabbing game object polys.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user