public void readAllAssets(String rootDirPath) {
		// TODO clear all assets
		try {
			Document document = ResourceController
					.readXML(rootDirPath + File.separator + "assets"
							+ File.separator + "assets.xml");

			NodeList assetList = document.getElementsByTagName("asset");
			for (int i = 0; i < assetList.getLength(); i++) {
				Element assetElement = (Element) assetList.item(i);
				String typeAttribute = assetElement.getAttribute("type");
				int id = Integer.parseInt(assetElement
						.getElementsByTagName("id").item(0).getTextContent());
				String file = assetElement.getElementsByTagName("file").item(0)
						.getTextContent();
				if (typeAttribute.equals("mesh")) {
					Mesh mesh = ResourceController
							.readMeshFromObj(rootDirPath + File.separator
									+ "assets" + File.separator + file);
					Asset asset = new Asset(id, file, mesh);
					assets.add(asset);
					lastID = id;
				}
			}
		} catch (ParserConfigurationException e) {
			e.printStackTrace();
		} catch (SAXException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}