Example #1
0
 public FrameMaker(RollRecorder rollRecorder, GameConfig gameConfig)
 {
     this.rollRecorder = rollRecorder;
     this.gameConfig   = gameConfig;
 }
 public ScoreCalculator(GameConfig gameConfig = null)
 {
     this.gameConfig   = gameConfig ?? new GameConfig();
     this.rollRecorder = new RollRecorder();
     this.frameMaker   = new FrameMaker(rollRecorder, this.gameConfig);
 }