Class RandomAnimation

All Implemented Interfaces:
Animation

public class RandomAnimation extends AbstractSoundAnimation
An animation that lets the slots pop up in a random order.
  • Constructor Details

    • RandomAnimation

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