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

@@ -54,7 +54,8 @@ namespace UI.CardSystem.Testing
// Subscribe to card events (new simplified event model)
if (_cardContext != null)
{
_cardContext.OnRevealFlowComplete += OnCardRevealFlowComplete;
// TODO: FIX
// _cardContext.OnRevealFlowComplete += OnCardRevealFlowComplete;
}
// Subscribe to drag events to ensure card snaps back when released
@@ -438,7 +439,8 @@ namespace UI.CardSystem.Testing
// Unsubscribe from events
if (_cardContext != null)
{
_cardContext.OnRevealFlowComplete -= OnCardRevealFlowComplete;
// TODO: FIX
// _cardContext.OnRevealFlowComplete -= OnCardRevealFlowComplete;
}
if (testCard != null)