
public class MultiEffect extends BaseEffect
| Modifier and Type | Field and Description |
|---|---|
protected List<Effect> |
effects |
element| Constructor and Description |
|---|
MultiEffect() |
MultiEffect(XElement el) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEffects(Effect... effects) |
void |
addEffects(List<Effect> effects) |
void |
onCancel()
Fires after the effect is cancelled.
|
void |
onComplete()
Fires after the effect is complete.
|
void |
onStart()
Fires after the effect is started.
|
void |
onUpdate(double progress)
Fires after the effect is updated.
|
getValuepublic MultiEffect()
public MultiEffect(XElement el)
public void addEffects(Effect... effects)
public void onCancel()
EffectonCancel in interface EffectonCancel in class BaseEffectpublic void onComplete()
EffectonComplete in interface EffectonComplete in class BaseEffectpublic void onStart()
EffectonStart in interface EffectonStart in class BaseEffectpublic void onUpdate(double progress)
EffectonUpdate in interface EffectonUpdate in class BaseEffectprogress - the progress between 0 and 1Copyright © 2018. All rights reserved.