public GameUI(IMazeIntegration mazeIntegration, IHandleInput handleInput, ILoadMaze loadMaze, IRenderMaze renderMaze, ILoadPlayer loadPlayer, IExecuteUserAction executeUserAction) { _mazeIntegration = mazeIntegration; _handleInput = handleInput; _loadMaze = loadMaze; _renderMaze = renderMaze; _loadPlayer = loadPlayer; _executeUserAction = executeUserAction; InitializeSettings(); PlayGame(); Console.WriteLine(Constants.PlayerConstants.EOG); Console.ReadKey(); }
public ExecuteUserActionService(ILoadPlayer loadPlayer, IMazeIntegration mazeIntegration, ILoadMaze loadMaze) { _loadPlayer = loadPlayer; _mazeIntegration = mazeIntegration; _loadMaze = loadMaze; }