/// <summary> /// 发牌 /// </summary> /// <param name="cType">给谁</param> private void DealTo(CharacterType cType) { Card card = CardModel.DealCard(cType); DealCardArgs e = new DealCardArgs(cType, card, false); dispatcher.Dispatch(CommandEvent.DealCard, e); }
private void Deal(CharacterType ctype) { Card card = CardModel.DealCard(ctype); DealCardArgs e = new DealCardArgs() { card = card, cType = ctype, isSelected = false }; dispatcher.Dispatch(ViewEvent.DealCard, e); }