packages/pyglGA/ext/Scene.py
def init(self, sdl2 = True, imgui = False, windowWidth = None, windowHeight = None, windowTitle = None, customImGUIdecorator = None):
        """call the init() of all systems attached to this Scene based on the Visitor pattern
        """
        #init Viewer GUI subsystem with just SDL2 window or also an ImGUI decorators
        if sdl2 == True:
            #create a basic SDL2 RenderWindow with a reference to the Scene and thus ECSSManager and EventManager
            self._renderWindow = SDL2Window(windowWidth, windowHeight, windowTitle, self)
            self._gContext = self._renderWindow
        
        if imgui == True and customImGUIdecorator == None:
            gGUI = ImGUIDecorator(self._renderWindow)
            self._gContext = gGUI
        elif imgui == True and customImGUIdecorator is not None:
            gGUI = customImGUIdecorator(self._renderWindow)
            self._gContext = gGUI
    
        self._gContext.init()
        self._gContext.init_post()
call the init() of all systems attached to this Scene based on the Visitor pattern
        
call the init() of all systems attached to this Scene based on the Visitor pattern
call the init () of all systems attached to this Scene based on the Visitor pattern
def init(self, sdl2 = True, imgui = False, windowWidth = None, windowHeight = None, windowTitle = None, customImGUIdecorator = None):
        if sdl2 == True:
            self._renderWindow = SDL2Window(windowWidth, windowHeight, windowTitle, self)
            self._gContext = self._renderWindow
        if imgui == True and customImGUIdecorator == None:
            gGUI = ImGUIDecorator(self._renderWindow)
            self._gContext = gGUI
        elif imgui == True and customImGUIdecorator is not None:
            gGUI = customImGUIdecorator(self._renderWindow)
            self._gContext = gGUI
        self._gContext.init()
        self._gContext.init_post()
def init ( self , sdl2 = True , imgui = False , windowWidth = None , windowHeight = None , windowTitle = None , customImGUIdecorator = None ) : if sdl2 == True : self . _renderWindow = SDL2Window ( windowWidth , windowHeight , windowTitle , self ) self . _gContext = self . _renderWindow if imgui == True and customImGUIdecorator == None : gGUI = ImGUIDecorator ( self . _renderWindow ) self . _gContext = gGUI elif imgui == True and customImGUIdecorator is not None : gGUI = customImGUIdecorator ( self . _renderWindow ) self . _gContext = gGUI self . _gContext . init ( ) self . _gContext . init_post ( )
call the init() of all systems attached to this Scene based on the Visitor pattern
call the init () of all systems attached to this Scene based on the Visitor pattern
"""call the init() of all systems attached to this Scene based on the Visitor pattern
        """ #init Viewer GUI subsystem with just SDL2 window or also an ImGUI decorators #create a basic SDL2 RenderWindow with a reference to the Scene and thus ECSSManager and EventManager
self
sdl2
imgui
windowWidth
windowHeight
windowTitle
customImGUIdecorator