示例#1
0
            /// <summary>
            /// Used to check if the time is up and respond accordingly
            /// </summary>
            protected override void OnTick()
            {
                m_StartTime = DateTime.Now;

                if (m_StartTime >= m_EndTime)
                {
                    m_DuelTimer.FinishRound();
                }
            }