namespace XGame.Framework.Time
{
    /// <summary>
    /// TimeModule的代理
    /// 用于批量管理定时器
    /// </summary>
    public interface ITimeProxy : ITimeModule
    {
        /// <summary>
        /// 取消所有定时器
        /// </summary>
        void CancelAll();
        /// <summary>
        /// 设置所有定时器的timeScale
        /// </summary>
        /// <param name="TimeScale"></param>
        void SetAllTimeScales(float timeScale);
    }
}
