Пример #1
0
        public void Reset()
        {
            Name                = "";
            Class               = "";
            Id                  = -1;
            GoingFirst          = false;
            Fatigue             = 0;
            DrawnCardsMatchDeck = true;
            Hand.Clear();
            Board.Clear();
            Deck.Clear();
            Graveyard.Clear();
            Secrets.Clear();
            DrawnCardIds.Clear();
            DrawnCardIdsTotal.Clear();
            RevealedCards.Clear();
            CreatedInHandCardIds.Clear();
            Removed.Clear();

            for (var i = 0; i < DeckSize; i++)
            {
                Deck.Add(new CardEntity(null));
            }
        }
Пример #2
0
 public override void Reset()
 {
     base.Reset();
     Secrets.Clear();
     OnSecretsChanged?.Invoke(new List <Card>());
 }
Пример #3
0
 public virtual void RemoveAllSecrets()
 {
     Secrets.Clear();
 }
Пример #4
0
 public void ClearSecrets()
 {
     Secrets.Clear();
     Logger.WriteLine("Cleared secrets", "OpponentSecrets");
 }
 public void ClearSecrets()
 {
     Secrets.Clear();
     Log.Info("Cleared secrets");
 }