Exemple #1
0
    def startGame(self):
        self.newTaskManager()

        from direct.showbase.EventManagerGlobal import eventMgr
        eventMgr.restart()

        from toontown.toonbase import ToontownStart
Exemple #2
0
    def startGame(self):
        try:
            os.remove('Phase3.py')
        except:
            pass

        import Phase3
        from direct.showbase.EventManagerGlobal import eventMgr
        eventMgr.restart()
        from toontown.toonbase import ToontownStart
Exemple #3
0
 def startGame(self):
     try:
         os.remove('Phase3.py')
     except: pass
     
     import Phase3
     
     self.newTaskManager()
     
     from direct.showbase.EventManagerGlobal import eventMgr
     eventMgr.restart()
    def startGame(self):
        try:
            os.remove('Phase3.py')
        except: pass

        import Phase3

        self.newTaskManager()

        from direct.showbase.EventManagerGlobal import eventMgr
        eventMgr.restart()

        from toontown.toonbase import ToontownStart
Exemple #5
0
    def startGame(self):
        # We'll need to import Phase3.pyo.  Make sure there's not a
        # competing Phase3.py file in the way first.
        try:
            os.remove('Phase3.py')
        except:
            pass

        # Read in the Phase3.pyz file
        import Phase3

        self.newTaskManager()

        from direct.showbase.EventManagerGlobal import eventMgr
        eventMgr.restart()
        from toontown.toonbase import ToontownStart
    def startGame(self):
        self.newTaskManager()
        from direct.showbase.EventManagerGlobal import eventMgr

        eventMgr.restart()
        from toontown.toonbase import ToontownStart