Working refactor of cleaned up card structure

This commit is contained in:
Michal Pikulski
2025-11-18 01:03:45 +01:00
parent 689e177c99
commit 64c304bb6d
18 changed files with 163 additions and 73 deletions

View File

@@ -34,7 +34,7 @@ namespace UI.CardSystem.StateMachine.States
}
// Show appropriate idle badge unless suppressed
if (_context.SuppressRevealBadges)
if (_context.BoosterContext.SuppressRevealBadges)
{
if (newCardIdleBadge != null) newCardIdleBadge.SetActive(false);
if (repeatCardIdleBadge != null) repeatCardIdleBadge.SetActive(false);
@@ -61,7 +61,7 @@ namespace UI.CardSystem.StateMachine.States
}
// Fire reveal flow complete event (signals booster page that this card is done)
_context.NotifyRevealComplete();
_context.BoosterContext.NotifyRevealComplete();
}
private void OnDisable()