private void getAllRooms(){
		Document doc = getXmlFile();
		NodeList nList = doc.getElementsByTagName("Location");
		
		if(debugConsole){
		System.out.println("Locations in XML-File");
		System.out.println("-------------------");
		System.out.println("");
		System.out.println("Number : "+nList.getLength());
		
		System.out.println("");
		}
		
		for (int temp = 0; temp < nList.getLength(); temp++) {
			
			
			Node nNode = nList.item(temp);
			
			Element eElement = (Element) nNode;
			
			
			Room room = new Room(Integer.parseInt(eElement.getElementsByTagName("Value").item(9).getTextContent()));
			
			if(debugConsole){
			System.out.println("Location: " + eElement.getAttribute("ID"));
			System.out.println("--------");
			}
	 
			if (nNode.getNodeType() == Node.ELEMENT_NODE) {
				
				room.setName(eElement.getElementsByTagName("Value").item(0).getTextContent());
				room.setPicturePath(eElement.getElementsByTagName("Value").item(1).getTextContent());
				room.setDescription(eElement.getElementsByTagName("Value").item(2).getTextContent());
				room.setAct(eElement.getElementsByTagName("Value").item(3).getTextContent());
				room.setChapter(eElement.getElementsByTagName("Value").item(4).getTextContent());
				room.setScene(eElement.getElementsByTagName("Value").item(5).getTextContent());
				room.setFunction(eElement.getElementsByTagName("Value").item(6).getTextContent());
				room.setFloor(eElement.getElementsByTagName("Value").item(7).getTextContent());
				room.setMood(eElement.getElementsByTagName("Value").item(8).getTextContent());
				room.setLocationId(eElement.getElementsByTagName("Value").item(9).getTextContent());
				room.setGameObjectsIncluded(eElement.getElementsByTagName("Value").item(10).getTextContent());
				room.setNpcs(eElement.getElementsByTagName("Value").item(11).getTextContent());
				if(!(eElement.getElementsByTagName("Value").item(12).getTextContent().isEmpty())){
				room.setLocationPointer(Integer.parseInt(eElement.getElementsByTagName("Value").item(12).getTextContent().substring(11,14)));
				}
			
				
				
				if(debugConsole){
				System.out.println("Name : " + 					eElement.getElementsByTagName("Value").item(0).getTextContent());
				System.out.println("Picture path (?) : " + 		eElement.getElementsByTagName("Value").item(1).getTextContent());
				System.out.println("Description : " + 			eElement.getElementsByTagName("Value").item(2).getTextContent());
				System.out.println("Act : " + 			eElement.getElementsByTagName("Value").item(3).getTextContent());
				System.out.println("Chapter : " + 					eElement.getElementsByTagName("Value").item(4).getTextContent());
				System.out.println("Scene : " + 				eElement.getElementsByTagName("Value").item(5).getTextContent());
				System.out.println("Floor : " + 				eElement.getElementsByTagName("Value").item(6).getTextContent());
				System.out.println("Function : " + 					eElement.getElementsByTagName("Value").item(7).getTextContent());
				System.out.println("Location ID : " + 				eElement.getElementsByTagName("Value").item(8).getTextContent());
				System.out.println("GameObjectsIncluded : " + 				eElement.getElementsByTagName("Value").item(9).getTextContent()); 
				System.out.println("NPCs : " + 				eElement.getElementsByTagName("Value").item(10).getTextContent()); 
				

				System.out.println("");
				}
			}	
			listRooms.add(room);
		}
	}