register_params()
sub register_params { my $state = shift; $state->add_chosen(); push @{$state->main()->chosen_scans()}, $state->get_chosen_struct(); $state->mark_as_used(); $state->main()->selected_scans()->[$state->scan_idx()]->mark_as_used(); $state->update_total_boards_solved(); $state->main()->add('total_boards_solved', $state->num_solved()); $state->trace_wrapper(); }
- Not particularly interesting - just register a few parameters.