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; }
public DiscardCardsControlStrategy(HandView HandRef, BoardView BoardRef, DiscardSectionView DiscardSectionRef) : base(HandRef, BoardRef) { DiscardSectionCached = DiscardSectionRef; }