Exemplo n.º 1
0
        private void CardItem_Tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            DominionCardControl cardControl = sender as DominionCardControl;

            App.Instance.SelectedCard = cardControl.Card;
            PickerView.CardInfo.Go();
        }
Exemplo n.º 2
0
        private void CardItem_Swipe(object sender, EventArgs e)
        {
            DominionCardControl cardControl = sender as DominionCardControl;

            if (cardControl.Card.Group.Type == CardGroupType.KingdomCard)
            {
                MainViewModel.Instance.Result.Replace(cardControl.Card);
            }
        }
Exemplo n.º 3
0
        private void CardItem_Tap(object sender, GestureEventArgs gestureEventArgs)
        {
            DominionCardControl cardControl = sender as DominionCardControl;

            MainViewModel.Instance.BlackMarket.Pick(cardControl.Card);
        }