| Games-Pandemic documentation | Contained in the Games-Pandemic distribution. |
Games::Pandemic::Card - base class for pandemic cards
version 1.111030
Jerome Quelin
This software is Copyright (c) 2009 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
| Games-Pandemic documentation | Contained in the Games-Pandemic distribution. |
# # This file is part of Games-Pandemic # # This software is Copyright (c) 2009 by Jerome Quelin. # # This is free software, licensed under: # # The GNU General Public License, Version 2, June 1991 # use 5.010; use strict; use warnings; package Games::Pandemic::Card; BEGIN { $Games::Pandemic::Card::VERSION = '1.111030'; } # ABSTRACT: base class for pandemic cards use Moose; use MooseX::SemiAffordanceAccessor; use Games::Pandemic::Utils; # -- builders / finishers sub DEMOLISH { my $self = shift; #debug( "~card: " . $self->label . "\n" ); } # -- accessors has label => ( is => 'ro', isa => 'Str', lazy_build => 1 ); has icon => ( is => 'ro', isa => 'Str', lazy_build => 1 ); no Moose; __PACKAGE__->meta->make_immutable; 1;
__END__