NAME

Games::RolePlay::MapGen::Generator::XMLImport - Slurp up XML map data into MapGen memory form

SYNOPSIS

use Games::RolePlay::MapGen;

my $map = new Games::RolePlay::MapGen;

$map->set_generator( "XMLImport" );
$map->generate( xml_input_file => "map.xml" );

The MapGen base object also knows a shortcut to perform the above:

my $map = Games::RolePlay::MapGen->import_xml("map.xml"); 

SEE ALSO

Games::RolePlay::MapGen