private void loadMaps() throws FileNotFoundException, SlickException{
			long time = System.currentTimeMillis();
			File f = new File(mapPath);
			File[] files = f.listFiles();
			for (int i = 0; i < files.length; i++){
				if (files[i].isDirectory()){
					continue;
				}
				else{
					String pathName = files[i].getName();
					String ext = pathName.split("\\.")[1];
					if (ext.equals("tmx")){
						String temp = mapPath.concat(pathName);
						AtlasMap map = new AtlasMap(temp, this);
						maps.put(pathName, map);
					}
				}
			}
			time = System.currentTimeMillis() - time;
			System.out.println("Loaded maps took " + time + " ms.");
		}