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(); }
private void reset_config_button_click(object sender, EventArgs e) { FormsHandler.ResetConfiguration(); }