public void ChameleosReveal(string cardId) { if (InDeckPrecitions.All(x => x.CardId != cardId)) { InDeckPrecitions.Add(new PredictedCard(cardId, 0)); } }
public void PredictUniqueCardInDeck(string cardId, bool isCreated) { if (InDeckPrecitions.All(x => x.CardId != cardId)) { InDeckPrecitions.Add(new PredictedCard(cardId, 0, isCreated)); } }
private void UpdateKnownEntitesInDeck(string cardId, int turn = int.MaxValue) { var card = InDeckPrecitions.FirstOrDefault(x => x.CardId == cardId && turn >= x.Turn); if (card != null) { InDeckPrecitions.Remove(card); } }
public void Reset() { Name = ""; Class = ""; Id = -1; GoingFirst = false; Fatigue = 0; InDeckPrecitions.Clear(); }
public void Reset() { Name = ""; Class = ""; Id = -1; GoingFirst = false; Fatigue = 0; InDeckPrecitions.Clear(); SpellsPlayedCount = 0; PogoHopperPlayedCount = 0; }
public void Reset() { Name = ""; Class = ""; Id = -1; GoingFirst = false; Fatigue = 0; InDeckPrecitions.Clear(); SpellsPlayedCount = 0; PogoHopperPlayedCount = 0; CardsPlayedThisTurn.Clear(); LastDrawnCardId = null; }
public void Reset() { Name = ""; Class = ""; Id = -1; Fatigue = 0; InDeckPrecitions.Clear(); SpellsPlayedCount = 0; PogoHopperPlayedCount = 0; CardsPlayedThisTurn.Clear(); LastDrawnCardId = null; LibramReductionCount = 0; }
public void JoustReveal(Entity entity, int turn) { entity.Info.Turn = turn; var card = InDeckPrecitions.FirstOrDefault(x => x.CardId == entity.CardId); if (card != null) { card.Turn = turn; } else { InDeckPrecitions.Add(new PredictedCard(entity.CardId, turn)); } Log(entity); }