Class WarpEffect

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

public class WarpEffect extends Effect
  • Field Details

    • radius

      public float radius
      Radius of the spawned circles
    • particles

      public int particles
      Particles per circle
    • grow

      public float grow
      Interval of the circles
    • rings

      public int rings
      Circles to display
    • step

      protected int step
      Internal 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