using JetBrains.Annotations;
using NEG.UI.Area;
using System;
namespace NEG.UI.Popup
{
[PublicAPI]
public interface IPopup
{
///
/// Show popup
///
/// data assigned to popup, used to give info that popup is closed
void Show(PopupData data);
///
/// Close popup or mark as closed if not visible
///
/// if true hide visually, without firing callbacks
void Close(bool silence = false);
}
}