Games::Pandemic::Map - pandemic map information


Games-Pandemic documentation  | view source Contained in the Games-Pandemic distribution.

Index


NAME

Top

Games::Pandemic::Map - pandemic map information

VERSION

Top

version 1.111030

METHODS

Top

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: special event 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 );

my @rates = $map->infection_rates;

Return the infection rates. It's a list of numbers, which offset is the number of epidemics already encountered.

AUTHOR

Top

Jerome Quelin

COPYRIGHT AND LICENSE

Top


Games-Pandemic documentation  | view source Contained in the Games-Pandemic distribution.