예제 #1
0
 public void EraseBoardForReset()
 {                              //Used ONLY with the restart algorithm button. Keeps a few old things, like bender's position and settings
     algorithm_started = false; //Algorithm no longer running
     InitializeValues();
     state_history = new List <AlgorithmEpisode>();
     state_history.Add(new AlgorithmEpisode(1));
     FormsHandler.ResetConfiguration();
 }
예제 #2
0
 private void reset_config_button_click(object sender, EventArgs e)
 {
     FormsHandler.ResetConfiguration();
 }