public User_GUI_Controller(List <Button> ButtonsInGameWindows, GameController myGame, Render_GUI_Controller Render_Controller, GameWindow gameWindow, Buttons_GUI_Controller GuiButtonsController)

        {
            _ButtonsInGameWindows = ButtonsInGameWindows;
            _myGame               = myGame;
            _Render_Controller    = Render_Controller;
            _gameWindow           = gameWindow;
            _GuiButtonsController = GuiButtonsController;
        }
예제 #2
0
        // KONSTRUKTORIUS

        public Main_GUI_Controller()
        {
            CreditWindow = new CreditWindow();
            GameWindow   = new GameWindow();
            _myGame      = new GameController();


            _Render_Controller      = new Render_GUI_Controller(CreditWindow, GameWindow);
            _Gui_Buttons_Controller = new Buttons_GUI_Controller(CreditWindow, GameWindow);

            _ButtonsInGameWindow = _Gui_Buttons_Controller.ButtonsInGameWindows;

            _Gui_User_Controller = new User_GUI_Controller(_ButtonsInGameWindow, _myGame, _Render_Controller, GameWindow, _Gui_Buttons_Controller);
        }