public void go(){
		distance = distance + (double)speed/90;
		speed = speed + acceleration;
		speedL = speed/10;
		km_hSpeed = speed * 2;
		y -= dy;
		if (speed <= 0) speed = 0;
		
		if (speed >= maxSpeed) speed = maxSpeed;
 
		if (layerX2 - speed <= 0){
			layerX1 = 0;
			layerX2 = 1100;
			} else {
			layerX1 = layerX1 - speed; 
			layerX2 = layerX2 - speed;
		}
		
		if (speed <= 10 && speed > 0) speedL = 1;
		if (speedL <= 0) speedL = 0;
		
			if (layerX4 - speedL <= 0){
				layerX3 = 0;
				layerX4 = 1100;
				} else {
					layerX3 = layerX3 - speedL; 
					layerX4 = layerX4 - speedL;
				}
		if (y <= topY) y = topY;
		if (y >= bottomY) y = bottomY;
	}