Exemple #1
0
        public Game(IConsoleRenderer renderer, IRandomWordGenerator generator, ICommandManager commandManager)
        {
            this.renderer = renderer;
            this.generator = generator;
            this.commandManager = commandManager;
            this.scoreManager = ScoreManager.Instance;

            InitializeGameSettings();
        }
 public CommandManager(ICommandParser parser, IConsoleRenderer renderer)
 {
     this.parser = parser;
     this.renderer = renderer;
     scoreManager = ScoreManager.Instance;
 }