public void update(){
		//move X
		if(speedX!= 0){
			int temp = speedX + centerX;
			if((temp - radius > 0) && (temp + radius <borderX)){
				centerX =temp;
			} else {
				speedX = 0;
			}
		}
		//jump
		if(jumped){
			if(speedY>jumpStart){
				jumped = false;
				jumpEnd = true;
				if(furtherjump){
					jumped = true;
					speedY = -jumpStart;
				}
			} else {
				int temp = speedY + centerY;
				if((temp - radius > 0) && (temp + radius <borderY)){
					centerY =temp;
					speedY++;
				} else {
					speedY = 0;
				}
			}
		}
	}