private void spawnObstacle() {
		if (rand.nextInt(100) <= 8) {
			for (int i = 0; i < 10; i++) {
				int xPos = rand.nextInt(Game.WIDTH - 30) + 15;
				Entity o = new EntityObstacle(xPos, 0);
				if (rand.nextInt(100) <= 2) {
					o = new EntityObstacleSpecial(xPos, 0);
				}
				Object[] e = getCollisionListFor(o).toArray();
				if (e.length > 0) {
					for (int j = 0; j < e.length; j++) {
						if (!(e[j] instanceof EntityObstacle)) {
							addEntitiy(o);
							return;
						}
					}
				} else {
					addEntitiy(o);
					return;
				}
			}
		}
	}