예제 #1
0
파일: main.py 프로젝트: onze/goLive
 def enterInit(self):
    '''
    init of main/global structures
    '''
    self.screen = Screen()
    if ConfigVariableBool('stats').getValue():
       self.update_gaming=pstat(self.update_gaming)
       PStatClient.connect()         
    taskMgr.add(self.update, 'GameClient.update')
    self.acceptOnce('escape',self.demand,extraArgs=['Quit'])
    self.demand('Intro')
예제 #2
0
파일: gframe.py 프로젝트: onze/goLive
 def __init__(self,*args,**kwargs):
    kwargs['layout']=VLayout
    Frame.__init__(self,*args,**kwargs)
    self.process_server_input=pstat(self.process_server_input)
    #to be set as soon as a connection is done with the server
    self.pid=None