From f7c3e68b2d5f356f7aabaef821ade18c3b10b407 Mon Sep 17 00:00:00 2001 From: WooxSolo Date: Sun, 27 Jun 2021 13:02:32 -0400 Subject: [PATCH] api: add actor current orientation Co-authored-by: Adam --- runelite-api/src/main/java/net/runelite/api/Actor.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 4730202305..7a5373c34e 100644 --- a/runelite-api/src/main/java/net/runelite/api/Actor.java +++ b/runelite-api/src/main/java/net/runelite/api/Actor.java @@ -104,13 +104,21 @@ public interface Actor extends Renderable LocalPoint getLocalLocation(); /** - * Gets the orientation of the actor. + * Gets the target orientation of the actor. * * @return the orientation * @see net.runelite.api.coords.Angle */ int getOrientation(); + /** + * Gets the current orientation of the actor. + * + * @return the orientation + * @see net.runelite.api.coords.Angle + */ + int getCurrentOrientation(); + /** * Gets the current animation the actor is performing. *