Class MusicEffect

java.lang.Object
de.slikey.effectlib.Effect
de.slikey.effectlib.effect.MusicEffect
All Implemented Interfaces:
Runnable

public class MusicEffect extends Effect
  • Field Details

    • radialsPerStep

      public double radialsPerStep
      Radials to spawn next note.
    • radius

      public float radius
      Radius of circle above head
    • step

      protected float step
      Current step. Works as a counter
  • Constructor Details

  • Method Details

    • reset

      public void reset()
      Description copied from class: Effect
      Effects should override this if they want to be reusable, this is called prior to starting so state can be reset.
      Overrides:
      reset in class Effect
    • onRun

      public void onRun()
      Specified by:
      onRun in class Effect