private boolean parseBoundaries(Element exit)
	{
		NodeList tiles = exit.getElementsByTagName(XmlTag.TILE.toString());
		int x1, y1;
		String dir1;
		for(int tile_num = 0; tile_num < tiles.getLength(); tile_num++)
		{
			//get tile1
			Element tile1 = (Element) tiles.item(tile_num);
			x1 = Integer.parseInt(tile1.getAttribute(XmlTag.X.toString()));
			y1 = Integer.parseInt(tile1.getAttribute(XmlTag.Y.toString()));
			dir1 = tile1.getAttribute(XmlTag.DIRECTION.toString());
			
			if(!level.addEdge(level.getTile(x1,y1),null,dir1, "", null, false)) return false;	
		}
		return true;
	}