Game::TextMapper::Constants - width and height for map tiles
use Game::TextMapper::Constants qw($dx $dy);
This class defines $dx (100) and $dy (100×√3), the two important lengths for hex tiles (used in the SVG output).
$dx
$dy
To install Game::TextMapper, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Game::TextMapper
CPAN shell
perl -MCPAN -e shell install Game::TextMapper
For more information on module installation, please visit the detailed CPAN module installation guide.