Exemplo n.º 1
0
    def init(self):
        import entityMgr
        self.entityMgr = entityMgr.EntityMgr(self)
        self.entityMgr.init()
        self.keepRunning = True

        import gfxMgr
        self.gfxMgr = gfxMgr.GfxMgr(self)
        self.gfxMgr.init()

        import netMgr
        self.netMgr = netMgr.NetMgr(self)
        self.netMgr.init()

        import inputMgr
        self.inputMgr = inputMgr.InputMgr(self)
        self.inputMgr.init()

        import selectionMgr
        self.selectionMgr = selectionMgr.SelectionMgr(self)
        self.selectionMgr.init()

        import controlMgr
        self.controlMgr = controlMgr.ControlMgr(self)
        self.controlMgr.init()

        import gameMgr
        self.gameMgr = gameMgr.GameMgr(self)
        self.gameMgr.init()
Exemplo n.º 2
0
    def initialize(self):
        import entMgr
        self.entMgr = entMgr.EntMgr(self)
        self.entMgr.initialize()

        import gfxMgr
        self.gfxMgr = gfxMgr.GfxMgr(self)
        self.gfxMgr.initialize()

        import netMgr
        self.netMgr = netMgr.NetMgr(self)
        self.netMgr.initialize()

        import inputMgr
        self.inputMgr = inputMgr.InputMgr(self)
        self.inputMgr.initialize()

        import selectionMgr
        self.selectionMgr = selectionMgr.SelectionMgr(self)
        self.selectionMgr.initialize()

        import widgetMgr
        self.widgetMgr = widgetMgr.WidgetMgr(self)
        self.widgetMgr.initialize()

        import gameMgr
        self.gameMgr = gameMgr.GameMgr(self)
        self.gameMgr.initialize()
Exemplo n.º 3
0
    def init(self):
        import overlayMgr

        self.overlayMgr = overlayMgr.OverlayMgr(self)
        self.overlayMgr.init()

        import entityMgr

        self.entityMgr = entityMgr.EntityMgr(self)
        self.entityMgr.init()
        self.keepRunning = True

        import gfxMgr

        self.gfxMgr = gfxMgr.GfxMgr(self)
        self.gfxMgr.init()

        import netMgr

        self.netMgr = netMgr.NetMgr(self)
        self.netMgr.init()

        import inputMgr

        self.inputMgr = inputMgr.InputMgr(self)
        self.inputMgr.init()

        import selectionMgr

        self.selectionMgr = selectionMgr.SelectionMgr(self)
        self.selectionMgr.init()

        import soundMgr

        self.soundMgr = soundMgr.SoundMgr(self)
        self.soundMgr.init()

        import widgetMgr

        self.widgetMgr = widgetMgr.WidgetMgr(self)
        self.widgetMgr.init()

        import gameMgr

        self.gameMgr = gameMgr.GameMgr(self)
        self.gameMgr.init()

        import controlMgr

        self.controlMgr = controlMgr.ControlMgr(self)
        self.controlMgr.init()