/// <summary> /// Constructor for King Survival Engine /// </summary> /// <param name="renderer">The output renderer</param> /// <param name="inputProvider">The input provider</param> /// <param name="board">The board for the game</param> /// <param name="winningConditions">Winning conditions for the game</param> /// <param name="players">Players that are playing the game</param> /// <param name="memory">The memory for the board</param> /// <param name="context">Context for command execute</param> /// <param name="commandFactory">Command Factory</param> public KingSurvivalEngine( IRenderer renderer, IInputProvider inputProvider, IBoard board, IWinningConditions winningConditions, IList<IPlayer> players, BoardMemory memory, ICommandContext context, ICommandFactory commandFactory) { this.context = new KingSurvivalEngineContext(renderer, inputProvider, board, winningConditions, players, memory, context, commandFactory); }
public KingSurvivalEngine(IRenderer renderer, IInputProvider inputProvider, IBoard board, IWinningConditions winningCondition, IList<IPlayer> players) { this.context = new KingSurvivalEngineContext(renderer, inputProvider, board, winningCondition, players); }