Logo Search packages:      
Sourcecode: castle-combat version File versions  Download package

def server::ClientAvatar::perspective_client_ready (   self  ) 

Gets called when the client has been fully initialised

Definition at line 64 of file server.py.

00064                                         :
            '''Gets called when the client has been fully initialised'''
            
            def get_client_info_callback(info):
                  '''Finishes integration of this client into the game'''
                  self.remote_game = info['game']
                  #self.remote_players = info['players']
                  self.ready = True
                  self.server.start_game_if_ready()

            d = self.mind.callRemote('get_client_info')
            d.addCallback(get_client_info_callback)
            

class RequestClientRealm:


Generated by  Doxygen 1.6.0   Back to index