- AlphaFunctions::Bounce, TimePeriod( delay, thirdAnimationDuration ) );
- mAnimation.AnimateTo( Property( mTiles[anotherIndex][idx], Actor::Property::COLOR ), HALF_BRIGHTNESS,
- AlphaFunctions::EaseOut, TimePeriod( delay, thirdAnimationDuration ) );
- mAnimation.AnimateTo( Property( mTiles[mContainerIndex][idx], Actor::Property::COLOR ), FULL_BRIGHTNESS,
- AlphaFunctions::EaseIn, TimePeriod( delay, thirdAnimationDuration ) );
+ AlphaFunction::BOUNCE, TimePeriod( delay, thirdAnimationDuration ) );
+
+ mAnimation.AnimateTo( Property( mCurrentTiles[ idx ], Actor::Property::COLOR ), HALF_BRIGHTNESS,
+ AlphaFunction::EASE_OUT, TimePeriod( delay, thirdAnimationDuration ) );
+ mAnimation.AnimateTo( Property( mTargetTiles[ idx ], Actor::Property::COLOR ), FULL_BRIGHTNESS,
+ AlphaFunction::EASE_IN, TimePeriod( delay, thirdAnimationDuration ) );