Beispiel #1
0
 public void HandleOpponentPlayToDeck(string cardId, int turn)
 {
     LogEvent("OpponentPlayToDeck", cardId, turn);
     _game.OpponentPlayToDeck(cardId, turn);
     _game.AddPlayToCurrentGame(PlayType.OpponentPlayToDeck, turn, cardId);
     Helper.MainWindow.Overlay.ListViewOpponent.Items.Refresh();
     Helper.MainWindow.OpponentWindow.ListViewOpponent.Items.Refresh();
     GameEvents.OnOpponentPlayToDeck.Execute(GameV2.GetCardFromId(cardId));
 }