Class DragonEffect

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

public class DragonEffect extends Effect
  • Field Details

    • rndF

      protected final List<Float> rndF
    • rndAngle

      protected final List<Double> rndAngle
    • pitch

      public float pitch
      Pitch of the dragon arc
    • arcs

      public int arcs
      Arcs to build the breath
    • particles

      public int particles
      Particles per arc
    • stepsPerIteration

      public int stepsPerIteration
      Steps per iteration
    • length

      public float length
      Length in blocks
    • step

      protected int step
      Current step. Works as counter
  • Constructor Details

    • DragonEffect

      public DragonEffect(EffectManager effectManager)
  • 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