Working refactor of cleaned up card structure
This commit is contained in:
@@ -584,8 +584,8 @@ namespace UI.CardSystem
|
||||
// Subscribe to CardDisplay click for selection
|
||||
context.CardDisplay.OnCardClicked += (_) => OnCardClicked(card);
|
||||
|
||||
// Subscribe to reveal flow complete event
|
||||
context.OnRevealFlowComplete += (ctx) => OnCardRevealComplete(card);
|
||||
// Subscribe to reveal flow complete event from booster context
|
||||
context.BoosterContext.OnRevealFlowComplete += () => OnCardRevealComplete(card);
|
||||
|
||||
// Track the card
|
||||
_currentCards.Add(card);
|
||||
|
||||
Reference in New Issue
Block a user