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

            InitializeGameSettings();
        }
예제 #2
0
 public CommandManager(ICommandParser parser, IConsoleRenderer renderer)
 {
     this.parser = parser;
     this.renderer = renderer;
     scoreManager = ScoreManager.Instance;
 }