
Games::Risk::Continent - continent object

version 3.112820

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.

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