Refactor, cleanup code and add documentaiton
This commit is contained in:
11
Assets/Scripts/CardSystem/StateMachine/ICardClickHandler.cs
Normal file
11
Assets/Scripts/CardSystem/StateMachine/ICardClickHandler.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace UI.CardSystem.StateMachine
|
||||
{
|
||||
/// <summary>
|
||||
/// Implement on a state component to receive routed click events
|
||||
/// from CardContext/CardDisplay.
|
||||
/// </summary>
|
||||
public interface ICardClickHandler
|
||||
{
|
||||
void OnCardClicked(CardContext context);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user