public GuiLoad(Game game, int width, int height) {
		super(game, width, height);
		File p = new File(World.WORLD_DIR);
		File[] fs = p.listFiles();
		int valid = 0;
		for (File f : fs) {
			if (f.getName().endsWith(".dat")) {
				valid++;
			}
		}
		worldFiles = new File[valid];
		for (int i = 0; i < valid; i++) {
			worldFiles[i] = fs[i];
		}
		if (worldFiles != null) {
			worlds = new WorldPreview[worldFiles.length];
			for (int i = 0; i < worldFiles.length; i++) {
				worlds[i] = new WorldPreview(worldFiles[i].getAbsolutePath());
			}
		}
	}