/Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Games-Sudoku-Component/blib/lib/Games/Sudoku/Component/Base.pm


NAME

Games::Sudoku::Component::Base


SYNOPSIS

  use base qw/Games::Sudoku::Component::Base/;


DESCRIPTION

This is a base class for the Games::Sudoku::Component::Table manpage, the Games::Sudoku::Component::Table::Cell manpage, the Games::Sudoku::Component::Table::Permission manpage.


METHODS

new

Creates an object. Options are:

size
Specifies the size of a puzzle board (table). The default is 9. Actually this value is assumed to be a square of another integer.

block_width
block_height
Specify the width/height of internal blocks, respectively. (block_width x block_height = size)

size

Returns the size of the table, specified at new.

block_width

block_height

Return the width/height of internal blocks of the table, specified at new, respectively.


SEE ALSO

the Games::Sudoku::Component manpage
the Games::Sudoku::Component::Table manpage
the Games::Sudoku::Component::Table::Cell manpage
the Games::Sudoku::Component::Table::Permission manpage


AUTHOR

Kenichi Ishigaki, <ishigaki@cpan.org>


COPYRIGHT AND LICENSE

Copyright (C) 2006 by Kenichi Ishigaki

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

 /Users/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Games-Sudoku-Component/blib/lib/Games/Sudoku/Component/Base.pm