private void placeRocks(int ammount) { // allow branching
		int done = 0;
		int attempts = 0;
		int size = 1;
		int gridSize[] = antWorld.getGridSize();
		do {
			attempts++;
			int rockXPos = AntWorld.getRandom(gridSize[0]-5)+2;
			int rockYPos = AntWorld.getRandom(gridSize[1]-5)+2;
			boolean clear = true;
			int x = 0-(rockYPos-1)%2;
			while(clear && x<size+1-(rockYPos-1)%2) {
				Hexagon hex = antWorld.getHexagon(rockXPos+x, rockYPos-1);			
				if(hex.getType()!=Hexagon.DIRT || hex.hasFood()) {
					clear = false;
				}
				x++;
			}
			int y =  0;
			while(y<size && clear) {
				x = -1;
				while(x<size+1 && clear) {
					Hexagon hex = antWorld.getHexagon(rockXPos+x, rockYPos+y);
					if(hex.getType()!=Hexagon.DIRT || hex.hasFood()) {
						clear = false;
					}
					x++;
				}
				y++;
			}
			x = 0-(rockYPos+size)%2;
			while(clear && x<size+1-(rockYPos+size)%2) {
				Hexagon hex = antWorld.getHexagon(rockXPos+x, rockYPos+size);
				if(hex.getType()!=Hexagon.DIRT || hex.hasFood()) {
					clear = false;
				}
				x++;
			}
			if(clear) {
				antWorld.setHexagon(new Hexagon(rockXPos, rockYPos, Hexagon.ROCK));
				attempts = 0;
				done++;
			}
		} while(done<ammount-(attempts/10000));
	}