public MovementInfo_Vanilla Convert(MovementInfo fromObj)
        {
            if (fromObj == null)
            {
                return(null);
            }

            MovementFlags_Vanilla moveFlags = MoveFlagsConverter.Convert(fromObj.MoveFlags);

            MovementInfo_Vanilla info = new MovementInfo_Vanilla(moveFlags, fromObj.TimeStamp, fromObj.Position,
                                                                 fromObj.Orientation, TransportInfoConverter.Convert(fromObj.TransportationInformation), fromObj.TransportationTime,
                                                                 fromObj.MovePitch, fromObj.FallTime, fromObj.FallData, fromObj.SplineElevation);

            return(info);
        }
        public MovementInfo Convert(MovementInfo_Vanilla fromObject)
        {
            if (fromObject == null)
            {
                return(null);
            }

            MovementFlag moveFlags = MoveFlagsConverter.Convert(fromObject.MoveFlags);

            MovementInfo info = new MovementInfo(moveFlags, MovementFlagExtra.None,
                                                 fromObject.TimeStamp, fromObject.Position,
                                                 fromObject.Orientation, TransportInfoConverter.Convert(fromObject.TransportationInformation),
                                                 fromObject.TransportTime, fromObject.MovePitch, fromObject.FallTime, fromObject.FallData, fromObject.SplineElevation);

            return(info);
        }