/// <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(); } }
/// <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"); }
/// <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); }