示例#1
0
 /// <summary>
 /// Tells the client that a tile was discarded.
 /// </summary>
 /// <param name="discardInformation">Information about the discard.</param>
 public void Discard(DiscardInformation discardInformation)
 {
     Validate.NotNull(discardInformation, "discardInformation");
       if (discardInformation.Callable)
       {
     _sender.DenyCall();
       }
 }
示例#2
0
 /// <summary>
 /// Tells the client that a tile was discarded.
 /// </summary>
 /// <param name="discardInformation">Information about the discard.</param>
 public void Discard(DiscardInformation discardInformation)
 {
     AddMessageOnGuiThread("Discard");
 }
示例#3
0
 /// <summary>
 /// Tells the client that a tile was discarded.
 /// </summary>
 /// <param name="discardInformation">Information about the discard.</param>
 public void Discard(DiscardInformation discardInformation)
 {
     _hand.Remove(discardInformation.Tile);
 }