public void doStuffs()
	{
		btmr--;
		x = x + (int) Math.round(xSpeed);
		y = grav.y;
		grav.moveFall(20);
		if(x < 0){ x = 0; xSpeed = 0; }
		if(x > 780){ x = 782; xSpeed = 0;}
		if(xSpeed < 0 && !moving) xSpeed = xSpeed + 0.1;
		if(xSpeed > 0 && !moving) xSpeed = xSpeed - 0.1;
	}