| Modifier and Type | Field and Description |
|---|---|
protected float |
accelerationFactor
The acceleration factor.
|
protected FadeStep |
delegate
Delegate.
|
| Constructor and Description |
|---|
FadeAccelerationStep(FadeStep delegate,
float accelerationFactor)
Creates an accelerated implementation.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getNextStep(FadeKind fadeKind,
float currFadePosition,
boolean isFadeIn,
boolean isLooping)
Returns the next fade cycle step.
|
protected FadeStep delegate
protected float accelerationFactor
public FadeAccelerationStep(FadeStep delegate, float accelerationFactor)
delegate - Delegate.accelerationFactor - Acceleration factor.public float getNextStep(FadeKind fadeKind, float currFadePosition, boolean isFadeIn, boolean isLooping)
FadeStepgetNextStep in interface FadeStepfadeKind - Fade kind.currFadePosition - Current fade position - guaranteed to be in 0.0-1.0 range.isFadeIn - If true, the current fade cycle is fading in.isLooping - If true, the fade is looping.