runelite-api: add getRegionMin/MaxLocation for GameObject

This commit is contained in:
Adam
2017-11-21 17:35:10 -05:00
parent 880a2bd282
commit ac071771b0
2 changed files with 30 additions and 0 deletions

View File

@@ -32,5 +32,20 @@ import java.awt.Polygon;
*/
public interface GameObject extends TileObject
{
/**
* Returns the min x,y for this game object
*
* @return
*/
Point getRegionMinLocation();
/**
* Returns the max x,y for this game object. This is different from
* {@link #getRegionMinLocation()} for objects larger than 1 tile.
*
* @return
*/
Point getRegionMaxLocation();
Polygon getConvexHull();
}