Games-Goban

 view release on metacpan or  search on metacpan

lib/Games/Goban/Board.pm  view on Meta::CPAN

  my ($class, %args) = @_;

  $args{id} ||= ++$next_id;

  my $self = $class->SUPER::new(%args);

  $self->{color} = $args{color};
  $self->{notes} = $args{notes};
  $self->{move}  = $args{move};

  bless $self => $class;
}

sub notes    { (shift)->{notes} }
sub position { (shift)->current_space_id }

sub moved_on { (shift)->{move} }

sub color  { my $self = shift; $self->{color} }
sub colour { my $self = shift; $self->{color} }

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.221 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )