com.annahid.libs.artenus.graphics.animation
FadeAnimation
Performs a fading effect animation for sprites. You can specify whether you want the sprite to
appear or disappear.
public final class FadeAnimation implements AnimationHandler
Constructor Summary
Modifier and Type | Constructor and Description |
---|---|
public | FadeAnimation(boolean fadeIn, float speed) Creates a FadeAnimation with the specified behavior. |
Method Summary
Modifier and Type | Method and Description |
---|---|
public void | advance(Animatable entity, float elapsedTime) Called whenever the animation should update the animatable based on elapsed time. |
Methods inherited from java.lang.Object
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
, wait
, wait
Constructor Detail
FadeAnimation | ||||
---|---|---|---|---|
public FadeAnimation( boolean fadeIn, float speed )Creates a FadeAnimation with the specified behavior. Parameters:
|