private void addLayoutObjects(Level l){
	//Add the tiles and edges to the map
	    if (l != null){
	        for (int i = 0; i < l.getTiles().length; i++){
	        	for (int j = 0; j < l.getTiles()[i].length; j++){
	        		if(l.getTiles()[i][j] !=null) {
	        			addTile(l.getTiles()[i][j]);
	        		}
	        	}
	        }
	        for (Edge edge : l.getEdges()){
	        	addEdge(edge);
	        }
	    }
	}