public void update(){
		if(beginningAnimation){
			AffineTransform transform = new AffineTransform();
			transform.translate(WIDTH/2-scaleFirst*WIDTH/2, HEIGHT/2-scaleFirst*HEIGHT/2);
			transform.scale(scaleFirst,scaleFirst);
			Graphics2D g2d = (Graphics2D)beginningImage.getGraphics();
			g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHints.VALUE_INTERPOLATION_BICUBIC);
			g2d.setColor(new Color(0,0,0,0));
			g2d.fillRect(0, 0, WIDTH, HEIGHT);
			g2d.drawImage(tileImage,transform,null);
			scaleFirst+=0.1;
			g2d.dispose();
			if(scaleFirst>=1)beginningAnimation = false;
		}else if(combineAnimation){
			AffineTransform transform = new AffineTransform();
			transform.translate(WIDTH/2-scaleCombine*WIDTH/2, HEIGHT/2-scaleCombine*HEIGHT/2);
			transform.scale(scaleCombine,scaleCombine);
			Graphics2D g2d = (Graphics2D)combineImage.getGraphics();
			g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,RenderingHints.VALUE_INTERPOLATION_BICUBIC);
			g2d.setColor(new Color(0,0,0,0));
			g2d.fillRect(0, 0, WIDTH, HEIGHT);
			g2d.drawImage(tileImage,transform,null);
			scaleCombine-=0.05;
			g2d.dispose();
			if(scaleCombine<=1)combineAnimation = false;
		}
	}