Refactor, cleanup code and add documentaiton
This commit is contained in:
26
Assets/Scripts/CardSystem/StateMachine/CardStateNames.cs
Normal file
26
Assets/Scripts/CardSystem/StateMachine/CardStateNames.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
namespace UI.CardSystem.StateMachine
|
||||
{
|
||||
/// <summary>
|
||||
/// Centralized string constants for card state names.
|
||||
/// Prevents typos and provides compile-time checking for state transitions.
|
||||
/// </summary>
|
||||
public static class CardStateNames
|
||||
{
|
||||
// Booster Flow States
|
||||
public const string Idle = "IdleState";
|
||||
public const string EnlargedNew = "EnlargedNewState";
|
||||
public const string EnlargedRepeat = "EnlargedRepeatState";
|
||||
public const string EnlargedLegendaryRepeat = "EnlargedLegendaryRepeatState";
|
||||
public const string Revealed = "RevealedState";
|
||||
|
||||
// Album Placement Flow States
|
||||
public const string PendingFaceDown = "PendingFaceDownState";
|
||||
public const string DraggingRevealed = "DraggingRevealedState";
|
||||
public const string PlacedInSlot = "PlacedInSlotState";
|
||||
public const string AlbumEnlarged = "AlbumEnlargedState";
|
||||
|
||||
// Generic Drag State
|
||||
public const string Dragging = "DraggingState";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user