public void generateLevel() {
		// Tile generator

		int x = 0, y = 0;

		for (int i = 0; i < game.worldWidth * game.worldHeight; i++) {
			switch (new Random().nextInt(3)) { // Random int from 0 - 2, use as tileID
			case 0:
				tiles[i] = new DirtTile(x * 32, y * 32, game); // Place dirt
				break;
			case 1:
				tiles[i] = new StoneTile(x * 32, y * 32, game); // Place stone
				break;
			case 2:
				tiles[i] = new GrassTile(x * 32, y * 32, game); // Place grass
				break;
			default:
				tiles[i] = new GrassTile(x * 32, y * 32, game); // Place grass
				break;
			}
			x++;
			if (x == game.worldWidth) {
				x = 0;
				y++;
			}
		}
	} // End generateLevel