Example #1
0
 public GameOverScreen(ScreenFactory screenFactory,
                       GameStats gameStats,
                       FileStoreOperator fileStoreOperator,
                       ColorHelper colorHelper)
     : base(colorHelper)
 {
     _screenFactory     = screenFactory;
     _gameStats         = gameStats;
     _fileStoreOperator = fileStoreOperator;
     _place             = _fileStoreOperator.GetHighscorePlace(_gameStats.Score);
 }