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