
Games::Risk::Map::Card - map card

my $card = Games::Risk::Map::Card->new(\%params);

This module implements a map card, with all its characteristics.

Create a new card. Mandatory param is type, and there's an optional param country.
The following accessors (acting as mutators, ie getters and setters) are available for Games::Risk::Map::Card objects:
country corresponding to the card.
the type of the card: artillery, cavalry, infantery or wildcard
Remove all circular references of $card, to prevent memory leaks.


Jerome Quelin, <jquelin at cpan.org>

Copyright (c) 2008 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU GPLv3+.