NAME

Game::TextMapper::Line - a line between two points

DESCRIPTION

The line connects two points. 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.

In order to do this, the class needs to know how to work with the regions on the map. This is different for hexes and squares. Therefore you should always be using the appropriate Hex or Square class instead.

SEE ALSO

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