}
public void load(File f) {
try {
if (f.getName().toLowerCase().endsWith(".wwd")) {
fMap = new Map(this, new MonolithWWD(new MonolithFile(f)));
} else {
JSONObject json = new JSONObject(new JSONTokener(new FileReader(f)));
fMap = new Map(this, json);
}
} catch (FileNotFoundException e) {