Ejemplo n.º 1
0
 public LogicController(MazeConfigWindow mazeConfigWindow,
                        MazeRenderer mazeRenderer,
                        MaskCreationWindow maskCreationWindow,
                        MessageDisplayWindow messageDisplayWindow)
 {
     _mazeConfigWindow     = mazeConfigWindow;
     _mazeRenderer         = mazeRenderer;
     _maskCreationWindow   = maskCreationWindow;
     _messageDisplayWindow = messageDisplayWindow;
 }
Ejemplo n.º 2
0
        protected override void Initialize()
        {
            _imGuiRenderer = new ImGuiRenderer(this);
            _imGuiRenderer.RebuildFontAtlas();

            _mazeConfigWindow     = new MazeConfigWindow(_graphics.GraphicsDevice, _imGuiRenderer);
            _maskCreationWindow   = new MaskCreationWindow(_graphics.GraphicsDevice);
            _mazeRenderer         = new MazeRenderer(_graphics.GraphicsDevice);
            _messageDisplayWindow = new MessageDisplayWindow();
            _logicController      = new LogicController(_mazeConfigWindow, _mazeRenderer, _maskCreationWindow, _messageDisplayWindow);

            base.Initialize();
        }