Term::Caca::Sprite - an OO-interface to caca_sprite
version 3.1.0
Basic usage
use Term::Caca::Sprite; eval { my $sprite = Term::Caca::Sprite->new('/tmp/sprite.txt'); my ($x, $y, $frame) = (8, 20, 0); $sprite->draw($x, $y, $frame); }; # The destructor will take care of releasing memory.
a brief summary of the module written with users in mind.
...
Example:
The load() method is a synonym for new() and they can be used interchangably.
cvars
no errors
John BEPPU <beppu@cpan.org>
perl(1)
John Beppu <beppu@cpan.org>
Yanick Champoux <yanick@cpan.org>
This software is Copyright (c) 2019, 2018, 2013, 2011 by John Beppu.
This is free software, licensed under:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004
To install Term::Caca, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::Caca
CPAN shell
perl -MCPAN -e shell install Term::Caca
For more information on module installation, please visit the detailed CPAN module installation guide.