* Adds the actor to the fade in animation. It creates a fade in animation if needed.
* @param[in] actor The actor.
*/
- void AddToFadeInAnimation( const Actor& actor );
+ void AddToFadeInAnimation( Actor& actor );
/**
* Starts the fade in animation.
/**
* Adds the actor to the fade out animation. It creates a fade out animation if needed.
*/
- void AddToFadeOutAnimation( const Actor& actor );
+ void AddToFadeOutAnimation( Actor& actor );
/**
* Starts the fade out animation.
* @param[inout] image The actor.
* @param[in] opacity The initial opacity.
*/
- void FadeInImage( Actor& image, float opacity = 0.f );
+ void FadeInImage( Actor& image, float opacity = 0.f, int priority = -1 );
/**
* It adds the actor fade out animation and stores it to be removed when the animation finishes.