Class AnimationEvent

    • Constructor Detail

      • 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 Detail

      • getPrevious

        public int getPrevious()
      • getCurrent

        public int getCurrent()