code: private static void exportAllowedMovements(Xml root, Collection<MovementTile> movements)
      {
          for (final MovementTile movement : movements)
          {
              final Xml node = root.createChild(NODE_MOVEMENT);
              node.setText(movement.name());
          }
      }
docs: Export the allowed movements.
  
  @param root The root node (must not be <code>null</code>).
  @param movements The movements node (must not be <code>null</code>).