Class WindEffect

java.lang.Object
com.github.tommyettinger.textra.Effect
com.github.tommyettinger.textra.effects.WindEffect

public class WindEffect
extends Effect
Moves the text in a wind pattern.
  • Constructor Details

    • WindEffect

      public WindEffect​(TypingLabel label, java.lang.String[] params)
  • Method Details

    • update

      public void update​(float delta)
      Overrides:
      update in class Effect
    • onApply

      protected void onApply​(long glyph, int localIndex, int globalIndex, float delta)
      Description copied from class: Effect
      Called when this effect should be applied to the given glyph.
      Specified by:
      onApply in class Effect