internal RenderMgr(IGameParameters gameResults, IInputOutputMgr inputOutputMgr)
        {
            _gameParameters = gameResults;
            _inputOutputMgr = inputOutputMgr;
            _cts            = new CancellationTokenSource();

            StartRenderCycle();
        }
Exemplo n.º 2
0
 internal GameMgr(IGameContext gameContext, IInputOutputMgr inputMgr, IRenderMgr renderMgr)
 {
     _gameContext      = gameContext;
     _inputMgr         = inputMgr;
     _renderMgr        = renderMgr;
     _currentDirection = Direction.Right;
     _rnd = new Random();
 }