protected void ReadBoneParent( BinaryReader reader )
{
// all bones should have been created by this point, so this establishes the heirarchy
Bone child, parent;
ushort childHandle, parentHandle;
// child bone
childHandle = ReadUShort( reader );
// parent bone
parentHandle = ReadUShort( reader );
// get references to father and son bones
parent = skeleton.GetBone( parentHandle );
child = skeleton.GetBone( childHandle );
// attach the child to the parent
parent.AddChild( child );
}