Games-Maze
view release on metacpan or search on metacpan
lib/Games/Maze.pm view on Meta::CPAN
#
# Creates the object with its attributes, listed below.
#
has fn_choosedir => ( is => 'ro', isa => CodeRef );
has upcolumn_even => ( is => 'ro', isa => Bool );
has [qw( _lvls _rows _cols )] => ( is => 'ro', isa => Int );
has [qw( dimensions entry exit start )] => ( is => 'ro', isa => ArrayRef );
has [qw( form cell generate connect )] => ( is => 'ro', isa => Str );
has '+form' => default => 'Rectangle';
has '+cell' => default => 'Quad';
has '+connect' => default => 'Simple';
has '+generate' => default => 'Random';
# Coerce these attributes to ucfirst lc $value
for my $attr (qw( cell form ))
( run in 0.315 second using v1.01-cache-2.11-cpan-5f2e87ce722 )