namespace XGame.Framework.Interfaces
{
    /// <summary>
    /// 激活隐藏接口
    /// </summary>
    public interface IActiveable
    {
        /// <summary>
        /// 激活状态
        /// </summary>
        bool Active { get; }
        /// <summary>
        /// 激活
        /// </summary>
        void Enable(object intent = null);
        /// <summary>
        /// 隐藏
        /// </summary>
        void Disable();
    }
}
