game object: add size x/y methods

This commit is contained in:
Adam
2021-03-20 18:58:28 -04:00
parent 1c41fc0eba
commit 4f34a0de6a

View File

@@ -35,6 +35,19 @@ import net.runelite.api.coords.Angle;
*/
public interface GameObject extends TileObject
{
/**
* Get the size of this object, in tiles, on the x axis
*
* @return
*/
int sizeX();
/**
* Get the size of this object, in tiles, on the y axis
*
* @return
*/
int sizeY();
/**
* Gets the minimum x and y scene coordinate pair for this game object.