Exemple #1
0
 public SavedState(int maxPredictionFrames)
 {
     Head   = 0;
     Frames = new SavedFrame[maxPredictionFrames + 2];
     for (var i = 0; i < Frames.Length; i++)
     {
         Frames[i] = SavedFrame.Create();
     }
 }
Exemple #2
0
 public SavedState(int maxPredictionFrames)
 {
     head   = 0;
     frames = new SavedFrame[maxPredictionFrames + 2];
     for (int i = 0; i < frames.Length; i++)
     {
         frames[i] = SavedFrame.Create();
     }
 }