Exemple #1
0
 public Game()
 {
     _frames = new Frame[11];
     for (var i = 0; i < _frames.Length; i++)
         _frames[i] = new Frame(_frames, i);
 }
Exemple #2
0
 public Frame(Frame[] frames, int index)
 {
     _rolls = new int?[2];
     _frames = frames;
     _index = index;
 }