Ejemplo n.º 1
0
 def __init__(self, host, port):
     self.Connect((host, port))
     self.players = {}
     Whiteboard.__init__(self)
Ejemplo n.º 2
0
	def __init__(self, host, port):
		self.Connect((host, port))
		self.players = {}
		Whiteboard.__init__(self)
Ejemplo n.º 3
0
 def __init__(self, host, port):
     self.Connect((host, port))
     # храним в словаре всех игроков, которые подключены:
     self.players = {}
     # вызываем конструктор окна приложения:
     Whiteboard.__init__(self)
Ejemplo n.º 4
0
 def __init__(self):
     self.Connect(('localhost', 31425))
     self.players = {}
     Whiteboard.__init__(self)