namespace ChillConnect
{
    public static class TimerHelper
    {
        private static string name = "TimerHelper";

        #region Time

        private static EasyTimer sEasyTimer;
        private static Timer _Timer;
        private static NormalTimer sNormalTimer;

        public static EasyTimer mEasy
        {
            get
            {
                if (sEasyTimer == null)
                {
                    sEasyTimer = TimerIManager.Instance.CreateSimpleTimer(name, TimerTimeType.Time);
                }

                return sEasyTimer;
            }
        }

        #endregion

        #region UnscaledTime

        private static EasyTimer sUnscaledEasyTimer;
        private static Timer _UnscaledTimer;
        private static NormalTimer sUnscaledNormalTimer;

        public static Timer UnscaleGeneral
        {
            get
            {
                if (_UnscaledTimer == null)
                {
                    _UnscaledTimer = TimerIManager.Instance.CreateTimer(name, TimerTimeType.UnscaledTime);
                }

                return _UnscaledTimer;
            }
        }

        #endregion

        #region RealtimeSinceStartup

        private static EasyTimer sRealEasyTimer;
        private static Timer _RealTimer;
        private static NormalTimer sRealNormalTimer;

        #endregion
    }
}