public AcquireGearStrategy(
     IPakDictionary pakDictionary,
     ILogger logger,
     PuzzleGameState puzzleGameState)
 {
     _pakDictionary = pakDictionary;
     _logger = logger;
     _puzzleGameState = puzzleGameState;
 }
示例#2
0
        public Program(
            ILogger logger,
            IPakDictionary pakDictionary,
            PuzzleGameState state,
            ITrashGearStrategy trashGearStrategy,
            PuzzleGameSimulator simulator)
        {
            var strategy = new PuzzleGameStrategy(
                logger,
                pakDictionary,
                state,
                trashGearStrategy);

            simulator.EvaluateStrategy(strategy);
        }