private void randMove() {
	int rand = (int)(1 + Math.random() * 4);
	switch (rand) {
		case 1:
			if (dyGob >= -560) {
				dyGob -= 4;
			}
			break;
		case 2:
			if (dyGob <= 0) {
				dyGob += 4;
			}
			break;
		case 3:
			if (dxGob <= 230) {
				dxGob += 4;
			}
			break;
		case 4:
			if (dxGob >= -230) {
				dxGob -= 4;
			}
			break;
	}
}