Example #1
0
        public void Initialize(HandView HandRef, BoardView BoardRef, DiscardSectionView DiscardSectionRef)
        {
            HandCached           = HandRef;
            BoardCached          = BoardRef;
            DiscardSectionCached = DiscardSectionRef;

            BattleSystem.Get().OnDrawCards += DrawCards;
            BattleSystem.Get().OnDiscardAllCardsFromTimeline += DiscardAllCardsFromTimeline;
            BattleSystem.Get().OnEnemyChanged += RegenerateBoard;
            BattleSystem.Get().OnDiscardCardsFromDiscardSection += DiscardCardsFromDiscardSection;
        }
Example #2
0
 public DiscardCardsControlStrategy(HandView HandRef, BoardView BoardRef, DiscardSectionView DiscardSectionRef)
     : base(HandRef, BoardRef)
 {
     DiscardSectionCached = DiscardSectionRef;
 }