chromatic > Games-PMM > Games::PMM::Monster::Commands

Download:
Games-PMM-0.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Games::PMM::Monster::Commands - class abstracting monster commands

SYNOPSIS ^

        use Games::PMM::Monster::Commands;

        my $commands = Games::PMM::Monster::Commands->new(
                'scan',
                'move forward',
                'turn left',
        );

DESCRIPTION ^

Games::PMM::Monster::Commands presents a nice interface to the set of commands a monster will execute. You will probably never need to use it directly, though, unless you're hacking on Games::PMM::Monster.

AVAILABLE COMMANDS ^

Monsters understand several commands. This list will grow in the future, both in size and in complexity.

Movement

Vision

Attacking

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.

syntax highlighting: