Class AnimationChanged


  • public class AnimationChanged
    extends Object
    An event where the Actor has 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 Detail

      • AnimationChanged

        public AnimationChanged()
    • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object