示例#1
0
 private void StopTimers()
 {
     DisinfectantTimer.Stop();
     MaskTimer.Stop();
     DarknessTimer.Stop();
     SickPersonSpawnTimer.Stop();
     SickPersonMoveTimer.Stop();
 }
示例#2
0
 private void MaskTimer_Tick(object sender, EventArgs e)
 {
     if (Level.IsEnabled)
     {
         Level.AddMask();
         Invalidate();
     }
     else
     {
         MaskTimer.Stop();
     }
 }