Exemplo n.º 1
0
 public AcquireGearStrategy(
     IPakDictionary pakDictionary,
     ILogger logger,
     PuzzleGameState puzzleGameState)
 {
     _pakDictionary = pakDictionary;
     _logger = logger;
     _puzzleGameState = puzzleGameState;
 }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public TrashGearStrategy(IPakDictionary pakDictionary, ILogger logger)
 {
     _pakDictionary = pakDictionary;
     _logger = logger;
 }