Ejemplo n.º 1
0
 // Thread-safe step
 private void ActiveEffectTick()
 {
     //lock (this)
     //{
     ActiveEffect.Tick();
     //}
 }
Ejemplo n.º 2
0
 // Thread-safe step
 private void ActiveEffectStep()
 {
     lock (this)
     {
         ActiveEffect.Tick();
         tickStartTime = DateTime.Now;
     }
 }