$self->callback('undo');
} elsif ($mult eq 'reset') {
$self->reset_game();
+ } elsif ($mult eq 'quit') {
+ return;
}
push @history, Clone::clone($self);
$self->callback('before_shoot');
return ($current_player,$new_round);
}
+sub finish_player_round
+{
+ my $self=shift;
+ $self->{current_shoot_count} = $self->{max_shoots_per_player};
+}
+
sub next_round
{
my $self=shift;