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.
|
getValue
public MultiEffect()
public MultiEffect(XElement el)
public void addEffects(Effect... effects)
public void onCancel()
Effect
onCancel
in interface Effect
onCancel
in class BaseEffect
public void onComplete()
Effect
onComplete
in interface Effect
onComplete
in class BaseEffect
public void onStart()
Effect
onStart
in interface Effect
onStart
in class BaseEffect
public void onUpdate(double progress)
Effect
onUpdate
in interface Effect
onUpdate
in class BaseEffect
progress
- the progress between 0 and 1Copyright © 2018. All rights reserved.