def addListenerForPlayer(self, player): self._listeners[Protocol.ProtocolGameListener(player)] = player