public void update(){
		life++;
		if(life > 50) dead = true;
		
		xx += xa;
		yy += ya;
		zz += za;
		
		if(zz < 0){
			zz = 0;
			za *= -0.5;
			xa *= 0.3;
			ya *= 0.3;
		}
	
		za -= 0.1;
		
		x = (int) xx;
		y = (int) yy;
		
	}