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::Mapper::Hex - a mapper for hex maps

DESCRIPTION

This class knows how to parse a text containing a hex 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::Hex to represent points (regions) and Game::TextMapper::Line::Hex to represent lines.

Game::TextMapper::Mapper::Square is a similar class for square maps.