public static void Pause() { MoveTimer.Stop(); GenCarTimer.Stop(); WorkTimer.Stop(); LightsTimer.Stop(); }
public static void Start() { MoveTimer.Start(); GenCarTimer.Start(); WorkTimer.Start(); LightsTimer.Start(); CurrentRoad = new Road(1, 1, 1, 1); CurrentRoadTransit = new RoadTransit(false, false, false, false, 1, 1, 1, 1); TrafficLight.CreateLight(); IsReady = true; }
public static void Start() { MoveTimer.Start(); PMoveTimer.Start(); GenCarTimer.Start(); WorkTimer.Start(); GenPeopleTimer.Start(); LightsTimer.Start(); TrafficLight.CreateLight(); IsReady = true; }
public static void Stop() { Car.Clear(); Deleter.Clear(); MoveTimer.Stop(); LightsTimer.Stop(); GenCarTimer.Stop(); WorkTimer.Stop(); CarCount.Text = "0"; CurrentlyCarCount.Text = "0"; WorkTime.Text = "0 c"; Cpm.Text = "0"; WorkTm = 0; UserPanel.ResetBackColor(); UserPanel.Invalidate(); }
public static void Start() { MoveTimer.Start(); LightsTimer.Start(); GenCarTimer.Start(); }