Algorithm::Metric::Chessboard::Wormhole - Model a wormhole for Algorithm::Metric::Chessboard.


Algorithm-Metric-Chessboard documentation  | view source Contained in the Algorithm-Metric-Chessboard distribution.

Index


NAME

Top

Algorithm::Metric::Chessboard::Wormhole - Model a wormhole for Algorithm::Metric::Chessboard.

DESCRIPTION

Top

See Algorithm::Metric::Chessboard.

METHODS

Top

new
  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.

AUTHOR

Top

Kake Pugh (kake@earth.li).

COPYRIGHT

Top


Algorithm-Metric-Chessboard documentation  | view source Contained in the Algorithm-Metric-Chessboard distribution.