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.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WindEffect(TypingLabel label, java.lang.String[] params) -
Method Summary
Methods inherited from class com.github.tommyettinger.textra.Effect
apply, calculateFadeout, calculateProgress, calculateProgress, calculateProgress, isFinished, paramAsBoolean, paramAsColor, paramAsFloatMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WindEffect
-
-
Method Details
-
update
public void update(float delta) -
onApply
protected void onApply(long glyph, int localIndex, int globalIndex, float delta)Description copied from class:EffectCalled when this effect should be applied to the given glyph.
-