| Games-Risk documentation | view source | Contained in the Games-Risk distribution. |
Games::Risk::Card - map card
version 3.103040
my $card = Games::Risk::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::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
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. |