Example #1
0
 public void HandleOpponentPlayToHand(string cardId, int turn, int id)
 {
     LogEvent("OpponentBackToHand", cardId, turn);
     _game.OpponentBackToHand(cardId, turn, id);
     Helper.MainWindow.Overlay.ListViewOpponent.Items.Refresh();
     Helper.MainWindow.OpponentWindow.ListViewOpponent.Items.Refresh();
     _game.AddPlayToCurrentGame(PlayType.OpponentBackToHand, turn, cardId);
     GameEvents.OnOpponentPlayToHand.Execute(GameV2.GetCardFromId(cardId));
 }