public Object[] getTileDataFromXML(String xml, int IDtoGet){
		
		Object[] returnObj = new Object[2];
		
		String[] lines = xml.split("\n");
		for(String line : lines){
			String[] spaces = line.split(" ");
			
			if(spaces.length > 1){
				int currentID = Integer.parseInt(spaces[1].substring(4, spaces[1].length() - 1));
				
				
				if(currentID == IDtoGet){
					System.out.println(spaces[1]);
					System.out.println("currentID = " + currentID);
					if(spaces.length > 1){
						String name = spaces[2].substring(6, spaces[2].length() - 1);
						
						System.out.println(spaces[1]);
						System.out.println("name = " + name);
						
						returnObj[0] = Integer.valueOf(currentID);
						returnObj[1] = name;
					}
				}
			}
		}
		
		return returnObj;
	}