Package net.runelite.api.events
Class AnimationChanged
- java.lang.Object
-
- net.runelite.api.events.AnimationChanged
-
public class AnimationChanged extends java.lang.ObjectAn event where theActorhas changed animations.In order to get the new animation ID, use
Actor.getAnimation().Examples of when this event may trigger include:
- A player starts or stops gathering a resource (ie. woodcut, fishing)
- A player starts or stops dancing
- See Also:
AnimationID
-
-
Constructor Summary
Constructors Constructor Description AnimationChanged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)ActorgetActor()The actor that has entered a new animation.inthashCode()voidsetActor(Actor actor)The actor that has entered a new animation.java.lang.StringtoString()
-
-
-
Method Detail
-
getActor
public Actor getActor()
The actor that has entered a new animation.
-
setActor
public void setActor(Actor actor)
The actor that has entered a new animation.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-