Contents

reparent(id:to:)

Change the parent of the equipment matching the given identifier. The given equipment becomes the last of the parent’s children.

Declaration

func reparent(id: EquipmentIdentifier, to parent: EquipmentIdentifier)

Parameters

  • id:

    The identifier of the equipment to reparent.

  • parent:

    The identifier of the new parent.

See Also

Changing the parent