Пример #1
0
        public void Destroy()
        {
            DCLog.Log("Destroy 1");
            if (mDestroyed)
            {
                return;
            }
            mDestroyed = true;
            DCLog.Log("Destroy 2");

            if (mPhysic)
            {
                DCTimer.RemovePhysic(this);
            }
            else
            {
                DCTimer.RemoveNormal(this);
            }
        }
Пример #2
0
 public DCBaseTimer CreatePhysic()
 {
     mPhysic = true;
     DCTimer.AddPhysic(this);
     return(this);
 }
Пример #3
0
 public DCBaseTimer CreateNormal()
 {
     DCTimer.AddNormal(this);
     return(this);
 }