예제 #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);
 }