public BallPrediction(rlbot.flat.BallPrediction ballPrediction)
 {
     Slices = new PredictionSlice[ballPrediction.SlicesLength];
     for (int i = 0; i < ballPrediction.SlicesLength; i++)
     {
         Slices[i] = new PredictionSlice(ballPrediction.Slices(i).Value);
     }
 }
        public static void Update(this BallPredictionSlice ballPredictionSlice, PredictionSlice partial)
        {
            ballPredictionSlice.GameSeconds = new TimeSpan(0, 0, (int)partial.GameSeconds);

            if (partial.Physics.HasValue)
            {
                ballPredictionSlice.Physics.Update(partial.Physics.Value);
            }
        }