Games::PMM::Arena is a Perl module that represents the playing arena of a PMM Game.
SYNOPSIS
use Games::PMM::Arena;
use Games::PMM::Monster;
my $arena = Games::PMM::Arena->new();
my $m1 = Games::PMM::Monster->new();
my $m2 = Games::PMM::Monster->new();
$arena->add_monster( $m1, x => 0, y => 0 );
$arena->add_monster( $m2, x => 9, y => 9 );
$m1->facing( 'north' );
$m1->facing( 'south' );
Games::PMM::Arena represents the arena in which monsters battle. It controls the coordinate system and all related issues, including monster movement.
Product's homepage
Requirements:
· Perl