public XMLLevelLoader() throws LevelLoaderException {
		initColorMap();
		boxes = new ArrayList<BoxObject>();
		playerPos = new Vector3f();
		goalPos = new Vector3f();
		ccolor = new Color(Color.WHITE);
		filename = null;
		cattributes = null;

		try {
			SAXParserFactory spf = SAXParserFactory.newInstance();
			spf.setNamespaceAware(true);
			SAXParser saxparser = spf.newSAXParser();
			xmlreader = saxparser.getXMLReader();
			xmlreader.setContentHandler(this);
		}
		catch (SAXException e) {
			throw new LevelLoaderException(e);
		}
		catch (ParserConfigurationException e) {
			throw new LevelLoaderException(e);
		}

	}