chromatic > Games-PMM-0.10 > Games::PMM::Monster

Download:
Games-PMM-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Games::PMM::Monster - represents a Monster in a PMM Game

SYNOPSIS ^

        use Games::PMM::Monster;
        use Games::PMM::Arena;

        my @commands = ( scan charge attack );
        my $monster  = Games::PMM::Monster->new( commands => \@commands );
        my $arena    = Games::PMM::Arena->new();

        $arena->add_monster( $monster, x => 0, y => 0 );

DESCRIPTION ^

Games::PMM::Monster represents a Monster that battles in a PMM game. It contains all of the monster state and behavior.

METHODS ^

AUTHOR ^

chromatic, chromatic@wgz.org

BUGS ^

No known bugs.

COPYRIGHT ^

Copyright (c) 2003, chromatic. All rights reserved. This module is distributed under the same terms as Perl itself, in the hope that it is useful but certainly under no guarantee.