| Games-Risk documentation | view source | Contained in the Games-Risk distribution. |
Games::Risk::Map - map being played
version 3.103040
my $id = Games::Risk::Map->new(\%params);
This module implements a map, pointing to the continents, the countries, etc. of the game currently in play.
The following accessors (acting as mutators, ie getters and setters) are
available for Games::Risk::Map objects:
the path to the background image for the board.
the path to the greyscale bitmap for the board.
Break all circular references in $map, to prevent memory leaks.
Return the next card from the cards stack.
Push back a $card in the card stack.
Return the list of all continents in the $map.
Return a list with all continents that are owned by a single player.
Return the list of all countries in the $map.
Return the country which id matches $id.
Jerome Quelin
This software is Copyright (c) 2008 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
| Games-Risk documentation | view source | Contained in the Games-Risk distribution. |