protected void analyzeResources(String folder, FileInfo info) throws IOException {
		String text = FileUtil.read(new File(folder, info.getFilename()));
		for (String line : text.split("\\\n")) {
			String parts[] = line.trim().split(" ");
			
			if (parts.length >= 2) {
				if (parts[0].equals("bgload")) {
					info.addBackground(parts[1]);
				} else if (parts[0].equals("setimg")) {
					info.addForeground(parts[1]);
				} else if (parts[0].equals("sound")) {
					info.addSound(parts[1]);
				} else if (parts[0].equals("music")) {
					info.addMusic(parts[1]);
				} else if (parts[0].equals("jump")) {
					info.addJump(parts[1]);
				}
			}
		}
	}