private SequentialTransition animateMergedTile(Tile tile){
  final ScaleTransition scale0=new ScaleTransition(Duration.millis(80),tile);
  scale0.setToX(1.2);
  scale0.setToY(1.2);
  scale0.setInterpolator(Interpolator.EASE_IN);
  final ScaleTransition scale1=new ScaleTransition(Duration.millis(80),tile);
  scale1.setToX(1.0);
  scale1.setToY(1.0);
  scale1.setInterpolator(Interpolator.EASE_OUT);
  return new SequentialTransition(scale0,scale1);
}

private SequentialTransition animateMergedTile ( Tile tile ) { final ScaleTransition scale0 = new ScaleTransition ( Duration . millis ( 80 ) , tile ) ; scale0 . setToX ( 1.2 ) ; scale0 . setToY ( 1.2 ) ; scale0 . setInterpolator ( Interpolator . EASE_IN ) ; final ScaleTransition scale1 = new ScaleTransition ( Duration . millis ( 80 ) , tile ) ; scale1 . setToX ( 1.0 ) ; scale1 . setToY ( 1.0 ) ; scale1 . setInterpolator ( Interpolator . EASE_OUT ) ; return new SequentialTransition ( scale0 , scale1 ) ; }
animation that creates a pop effect when two tiles merge by increasing the tile scale to 120 % at the middle , and then going back to 100 %
