Games::Roguelike::Console::Dump - fake console that dumps to file, for testing
use Games::Roguelike::Console::Dump;
$con = Games::Roguelike::Console::Dump->new(keys=>'qY', file=>'/dev/null');
Fake console that dumps screens to file, used for testing game scripts without needing "curses" support.
Notably, the new function takes a keystroke string and a file as arguments.
Inherits from Games::Roguelike::Console. See Games::Roguelike::Console for list of methods.
Games::Roguelike::Console
To install Games::Roguelike::Mob, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Roguelike::Mob
CPAN shell
perl -MCPAN -e shell install Games::Roguelike::Mob
For more information on module installation, please visit the detailed CPAN module installation guide.