The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Game::TextMapper::Line::Square - a line implementation for square maps

DESCRIPTION

The line connects two points on a square map. This class knows how to compute all the regions between these two points, how to compute the next region along the line, and how to output SVG.

SEE ALSO

Game::TextMapper::Point Game::TextMapper::Line::Line Game::TextMapper::Line::Hex