using Intrepid.SimpleEvents;
using Intrepid.Utilities;
using Intrepid.Window.Data;
using UnityEngine;

namespace Intrepid.Gameplay.Entities.Player.UI
{
    public abstract class ManagedWindowUI : EventListener
    {
        [GroupInjections, SerializeField] private Window.Window managedWindow;
        
        public Window.Window ManagedWindow => managedWindow;
        public WindowData WindowData => managedWindow.WindowData;
    }
}