示例#1
0
        public void dispose()
        {
            if(m_numObj != null)
            {
                m_numObj.dispose();
                m_numObj = null;
            }

            stopTimer();
            m_timerGo = null;
        }
示例#2
0
        // 更新倒计时数字
        protected void updateDJSNum()
        {
            if (m_numObj == null)
            {
                m_numObj = new NumResItem();
                m_numObj.setParent(m_timerGo);
            }

            if(m_timer != null)
            {
                if (!m_timer.m_disposed)
                {
                    m_numObj.setNum((int)m_timer.m_curTime);
                }
                else
                {
                    //dispose();
                    m_numObj.disposeNum();
                }
            }
        }
示例#3
0
 public void setNum(int num)
 {
     m_num = new NumResItem();
     m_num.setNum(num);
 }
示例#4
0
 public void setNum(int num)
 {
     m_num = new NumResItem();
     m_num.setNum(num);
 }
示例#5
0
 protected void testNum()
 {
     NumResItem num = new NumResItem();
     num.setNum(121);
 }