internal void Merge(VehicleProperties _props) { Type = _props.Type; Flags = _props.Flags; foreach (var item in _props.ParamsFloat) { ParamsFloat[item.Key] = item.Value; } foreach (var item in _props.ParamsVec) { ParamsVec[item.Key] = item.Value; } foreach (var item in _props.ParamsRot) { ParamsRot[item.Key] = item.Value; } // Copy the reference to the one simulation dynamics area. Dynamics = _props.Dynamics; }
internal void Merge(VehicleProperties _props) { Type = _props.Type; Flags = _props.Flags; foreach (var item in _props.ParamsFloat) ParamsFloat[item.Key] = item.Value; foreach (var item in _props.ParamsVec) ParamsVec[item.Key] = item.Value; foreach (var item in _props.ParamsRot) ParamsRot[item.Key] = item.Value; // Copy the reference to the one simulation dynamics area. Dynamics = _props.Dynamics; }