private void addLauncherToArray(Node launcher, Node rootNode)
			throws SecurityException, IOException {
		if (launcher instanceof Element) {
			String id = launcher.getAttributes().getNamedItem("id")
					.getNodeValue();
			if (launcher.getNodeName().equals("launcher")) {
				boolean isHidden = Boolean.parseBoolean(launcher
						.getAttributes().getNamedItem("isHidden")
						.getNodeValue());
				war.addLauncher(new Launcher(id, isHidden,controller.getWarListeners() ));
			} else {
				String type = launcher.getAttributes().getNamedItem("type")
						.getNodeValue();
				if ((rootNode.getNodeName().equals("missileDestructors"))) {
				    war.addDestructor(id, type);

				} else {

					war.addDestructor(id, type);
				}
			}
		}
	}