NAME

Game::TextMapper::Mapper::Hex - a mapper for hex maps

DESCRIPTION

This class knows how to parse a text containing a square map description into SVG definitions, and regions. Once the map is built, this class knows how to generate the SVG for the entire map.

SEE ALSO

This class is derived from Game::TextMapper::Mapper.

It uses Game::TextMapper::Point::Square to represent points (regions) and Game::TextMapper::Line::Square to represent lines.

Game::TextMapper::Mapper::Hex is a similar class for hex maps.