Class SequentialAnimation

All Implemented Interfaces:
Animation

public class SequentialAnimation extends AbstractSoundAnimation
An animation that shows the slots sequentially, ordered by their index.
  • Constructor Details

    • SequentialAnimation

      public SequentialAnimation(int tickDelay, boolean sound)
      Creates a new SequentialAnimation.
      Parameters:
      tickDelay - The delay between each slot being shown.
      sound - Whether a sound should be played when the slot is shown.
  • Method Details