Skip to content

Instantly share code, notes, and snippets.

@Syjgin
Last active January 20, 2022 06:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Syjgin/1953a73b0e17c1f31e7110a9b7e18616 to your computer and use it in GitHub Desktop.
Save Syjgin/1953a73b0e17c1f31e7110a9b7e18616 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
namespace Dialogues.PopupQueue
{
public interface IPopupQueueElement
{
PopupQueueElementType ElementType { get; }
IEnumerable<PopupQueueElementType> DenyNextElementTypes { get; }
PopupQueueOperation OpenOperation { get; }
bool CanBeHidden { get; } //в одном месте пришлось скрывать элемент, который исходно не был скрываемым исходя из DenyNextElementTypes, поэтому проще было добавить ещё такой флаг. Но в целом это не обязательно
bool IsIgnoreDenyElements { get; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment