Class AnimationEvent

All Implemented Interfaces:
Serializable

public class AnimationEvent extends GameEvent<PathingEntity<?>>
See Also:
  • Constructor Details

    • AnimationEvent

      public AnimationEvent(PathingEntity source, int previous, int current)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details

    • getPrevious

      public int getPrevious()
    • getCurrent

      public int getCurrent()
    • getType

      public AnimationEvent.Type getType()