Class VerticalSnakeAnimation

All Implemented Interfaces:
Animation

public class VerticalSnakeAnimation extends AbstractSoundAnimation
An animation that moves like a snake in vertical direction, starting from (0,0) then moving all the way down, one to the side, all the way up and repeat.
  • Constructor Details

    • VerticalSnakeAnimation

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