Beispiel #1
0
 void IPlayerView.SelectCards(SelectCardsMessage message)
 {
     Clients.Caller.displaySelectCards(message);
 }
 private void SelectCard(IEnumerable<Card> cards, Action<IEnumerable<long>> callback)
 {
     var message = new SelectCardsMessage { Caption = Caption, Message = Message, Cards = CardModel.From(cards), Min = Min, Max = Max };
     Player.SelectCardsCallback = callback;
     Player.View.SelectCards(message);
 }