Package net.runelite.api.events
Class GraphicChanged
- java.lang.Object
-
- net.runelite.api.events.GraphicChanged
-
public class GraphicChanged extends java.lang.ObjectAn event where the graphic of anActorhas changed.The graphic the player has changed to can be obtained using
Actor.getGraphic().Examples of when this event may trigger include:
- Casting a magic spell
- Using a fairy ring
- Breaking a teleport tab
- See Also:
SpotanimID
-
-
Constructor Summary
Constructors Constructor Description GraphicChanged()
-
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 had their graphic changed.inthashCode()voidsetActor(Actor actor)The actor that has had their graphic changed.java.lang.StringtoString()
-
-
-
Method Detail
-
getActor
public Actor getActor()
The actor that has had their graphic changed.
-
setActor
public void setActor(Actor actor)
The actor that has had their graphic changed.
-
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
-
-