@Override public void actionPerformed(ActionEvent e) {
		Object s = e.getSource();
		if (s==Save) {
			Game.map.parse.encode(Game.edit.mapname);
		}
		else if (s==Load) {
			new LoadMap();
		}
		else if (s==Change) {
			ValidateMapSize(Integer.parseInt(Height.getText()),Integer.parseInt(Width.getText()));
			ValidateMapName(Name.getText());
		}
		else if (s==Return) {
			MenuHandler.CloseMenu();
		}
		else if (s==Quit) {
			Game.gui.LoginScreen();
		}
	}