public MoveDeterminer(ITurnDeterminer turnDeterminer, IShootDeterminer shootDeterminer, IGame game) { _turnDeterminer = turnDeterminer; _shootDeterminer = shootDeterminer; _game = game; _flightsWithoutShots = 0; }
/// <summary> /// Initialises the Move Acceptor /// </summary> /// <param name="scanner">The scanner that will be used for accepting input</param> /// <param name="printer">The printer that will be used by the move acceptor</param> /// <param name="moveDeterminer">The move determiner used by the acceptor</param> /// <param name="moveExecutor">The move executor used by the acceptor</param> /// <param name="turnDeterminer">The turn determiner to be used by the acceptor</param> public MoveAcceptor(IScanner scanner, IPrinter printer, IMoveDeterminer moveDeterminer, IMoveExecutor moveExecutor, ITurnDeterminer turnDeterminer) { _scanner = scanner; _printer = printer; _moveDeterminer = moveDeterminer; _moveExecutor = moveExecutor; _turnDeterminer = turnDeterminer; }