private void initItems() {
		items = new ArrayList<>();
		BufferedImage image = getItemImage();
		itemImage = image;
		List<Integer> xPos = new ArrayList<>();
		List<Integer> yPos = new ArrayList<>();
		for (int x = 2; x < level.getWidth() - 2; x++) {
			boolean wasLastAir = false;
			for (int y = 0; y < level.getHeight(); y++) {
				boolean isAir = level.getTileID(x, y) == LevelTexture.AIR;
				if (wasLastAir && !isAir) {
					xPos.add(x);
					yPos.add(y - 1);
				}
				wasLastAir = isAir;
			}
		}
		int count = xPos.size() / 5;
		itemCount = count;
		for (int i = 0; i < xPos.size(); i++) {
			if (Math.random() < (double) count / (xPos.size() - i)) {
				items.add(new Item(image, xPos.get(i), yPos.get(i)));
				count--;
			}
		}
	}