Class Sequencer


  • public class Sequencer
    extends Object
    Run a list of animations in order.
    • Constructor Detail

      • Sequencer

        public Sequencer()
    • Method Detail

      • add

        public void add​(SequencedAnimation animation,
                        int duration)
        Add an animation to the list of animations to be sequenced.
        Parameters:
        animation -
        duration -
      • run

        public void run()
        Run all animations.
      • reset

        public void reset()
        Reset the sequence to the begining.