Algorithm::Metric::Chessboard::Wormhole - Model a wormhole for Algorithm::Metric::Chessboard.
See Algorithm::Metric::Chessboard.
my $wormhole = Algorithm::Metric::Chessboard::Wormhole->new( x => 5, y => 30, id => "Warp Gate", );
x and y are mandatory. id is optional; it's not used internally but is provided as a space for you to store any id you like, in case your program is interested in which wormholes were used in a journey.
x
y
id
Kake Pugh (kake@earth.li).
Copyright (C) 2004 Kake Pugh. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Algorithm::Metric::Chessboard, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::Metric::Chessboard
CPAN shell
perl -MCPAN -e shell install Algorithm::Metric::Chessboard
For more information on module installation, please visit the detailed CPAN module installation guide.