/// <summary> /// Initializes a new instance of the <see cref="UIManager"/> class. /// </summary> /// <param name="renderer">The renderer which is going to be used by the UIManager.</param> /// <param name="inputReader">The input reader which UIManager is going to use.</param> public UIManager(IRenderer renderer, IUserInputReader inputReader) { this.Renderer = renderer; this.InputReader = inputReader; this.cmdLineRow = CmdLineRowDefault; this.minefieldTopLeft = new CellPos(3, 0); this.boardGenerator = new BoardDrawer(renderer); }
public static void ClassInitialize(TestContext context) { testBoardDrawer = new BoardDrawer(testRenderer.Object); }