From a37dfd8de550e0eee39ff3c982e744f3ff79e09f Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 14 Jan 2022 16:56:12 -0500 Subject: [PATCH] api: add actor graphic height accessors --- .../src/main/java/net/runelite/api/Actor.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/runelite-api/src/main/java/net/runelite/api/Actor.java b/runelite-api/src/main/java/net/runelite/api/Actor.java index 3e53351626..850ff1aab7 100644 --- a/runelite-api/src/main/java/net/runelite/api/Actor.java +++ b/runelite-api/src/main/java/net/runelite/api/Actor.java @@ -268,6 +268,18 @@ public interface Actor extends Renderable */ void setGraphic(int graphic); + /** + * Get the height of the graphic/spotanim on the actor + * @return + */ + int getGraphicHeight(); + + /** + * Set the height of the graphic/spotanim on the actor + * @param height + */ + void setGraphicHeight(int height); + /** * Get the frame of the currently playing spotanim *