NAME

Games::Pandemic::Map - map information for Games::Pandemic

VERSION

version 0.6.0

METHODS

my $bgpath = $map->background_path;

Return the path the background image of the map.

my $dir = $map->sharedir;

Return the path to the private directory $dir where $map stores various files.

my @cards = $map->cards;

Return a list of Games::Pandemic::Card: specific cards depending on the map, plus one card per city defined in the map. They will be used for the regular deck. Note that the cards will not be shuffled.

my @cards = $map->disease_cards;

Return a list of Games::Pandemic::Card::City, one per city defined in the map. They will be used for the infection deck. Note that the cards will not be shuffled.

my $city = $map->find_city( $name );

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

This software is Copyright (c) 2009 by Jerome Quelin.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007