Games::Pandemic::Card::Epidemic - epidemic card for pandemic


Games-Pandemic documentation Contained in the Games-Pandemic distribution.

Index


Code Index:

NAME

Top

Games::Pandemic::Card::Epidemic - epidemic card for pandemic

VERSION

Top

version 1.111030

DESCRIPTION

Top

This package implements a simple epidemic card. An epidemic event will:

* Increase the infection rate
* Infect a new city with 3 cubes
* Intensify the propagation by shuffling the past infections and putting them back upon the infection deck

AUTHOR

Top

Jerome Quelin

COPYRIGHT AND LICENSE

Top


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::Epidemic;
BEGIN {
  $Games::Pandemic::Card::Epidemic::VERSION = '1.111030';
}
# ABSTRACT: epidemic card for pandemic

use File::Spec::Functions qw{ catfile };
use Moose;
use MooseX::SemiAffordanceAccessor;

use Games::Pandemic::I18n      qw{ T };
use Games::Pandemic::Utils;

extends 'Games::Pandemic::Card';

# -- default builders

sub _build_icon  { catfile($SHAREDIR, 'cards', 'epidemic-16.png' ) }
sub _build_label { T('epidemic') }


no Moose;
__PACKAGE__->meta->make_immutable;

1;



__END__