示例#1
0
    def __init__(self, name, connection):
        """
        Create a proxy player

        Arguments:
            name - a sting representing the player's name
            connection - some sort of socket-y thing? just an ip?
                anyway the way we connect back to the remote player
        """
        Player.__init__(self, name)
        self.name = name
        AcquireNetworkMixin.__init__(self, connection, TIMEOUT)
示例#2
0
 def __init__(self, connection):
     """ initialize this networked Administrator """
     Administrator.__init__(self)
     AcquireNetworkMixin.__init__(self, connection)