Exemplo n.º 1
0
 /// <summary>
 /// Método de respuesta de IPlayConnectCallback
 /// </summary>
 /// <param name="responseSentence">The sentence of the game</param>
 public void SentenceFound(ServiceSentence responseSentence)
 {
     sentence = responseSentence;
     synchronizationContext.Post(objectPlayer => PlayGame(), null);
 }
Exemplo n.º 2
0
 /// <summary>
 /// This method saves the sentence obtained to start the game from IPlayManagerCallback
 /// </summary>
 /// <param name="responseSentence">The response obtained when calling the server method.</param>
 public void SentenceFound(ServiceSentence responseSentence)
 {
     sentence = responseSentence;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Save the sentence who receives from another class
 /// </summary>
 /// <param name="sentenceReceived">Sentence to play.</param>
 public void SentenceReceived(ServiceSentence sentenceReceived)
 {
     sentence = sentenceReceived;
 }