/** {@inheritDoc} */ @Override protected void readAttributes(FreeColXMLReader xr) throws XMLStreamException { super.readAttributes(xr); final AIMain aiMain = getAIMain(); destination = xr.getLocationAttribute(aiMain.getGame(), DESTINATION_TAG, false); // Delegate transportable one level down }
/** {@inheritDoc} */ @Override protected void readAttributes(FreeColXMLReader xr) throws XMLStreamException { super.readAttributes(xr); target = xr.getLocationAttribute(getGame(), TARGET_TAG, false); }