Initial commit: Unity WordConnect project
This commit is contained in:
17
Assets/WordConnectGameToolkit/Scripts/Popups/IPopupStack.cs
Normal file
17
Assets/WordConnectGameToolkit/Scripts/Popups/IPopupStack.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WordsToolkit.Scripts.Popups
|
||||
{
|
||||
public interface IPopupStack
|
||||
{
|
||||
void Push(Popup popup);
|
||||
void Pop();
|
||||
Popup Peek();
|
||||
bool IsEmpty();
|
||||
void Clear();
|
||||
int Count { get; }
|
||||
event Action<Popup> OnPopupPushed;
|
||||
event Action<Popup> OnPopupPopped;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user