public class BaseEffect extends Object implements Effect
Effect
implementation for elements.Modifier | Constructor and Description |
---|---|
protected |
BaseEffect(XElement element) |
Modifier and Type | Method and Description |
---|---|
protected double |
getValue(double from,
double to,
double progress) |
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.
|
protected XElement element
protected BaseEffect(XElement element)
public void onCancel()
Effect
public void onComplete()
Effect
onComplete
in interface Effect
public void onStart()
Effect
public void onUpdate(double progress)
Effect
protected double getValue(double from, double to, double progress)
Copyright © 2018. All rights reserved.