Games::Risk::Continent - continent object
version 3.112590
This module implements a map continent, with all its characteristics. The word continent is a bit loose, since for some maps it can be either a region, a suburb... or a planet! :-)
Unique id assigned to the continent.
Number of bonus armies given when a player controls every country in the continent.
Continent name.
Color of the continent to flash it.
Reference to the parent map (weak ref to a Games::Risk::Map object).
The Games::Risk::Country objects belonging to this continent.
my $p0wned = $continent->is_owned( $player );
Return true if $player is the owner of all $continent's countries.
$player
$continent
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
To install Games::Risk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Risk
CPAN shell
perl -MCPAN -e shell install Games::Risk
For more information on module installation, please visit the detailed CPAN module installation guide.