using System.Collections.Generic; using NEG.UI.Popup; using NEG.UI.Window; using NEG.UI.WindowSlot; namespace NEG.UI.Area { public interface IArea : IUiElement { IEnumerable AvailableSlots { get; } /// /// Open window /// /// /// void OpenWindow(IWindow window, object data = null); void CloseAllWindows() { foreach (var slot in AvailableSlots) { slot.CloseAllWindows(); } } } }