
Term::Caca::Sprite - an OO-interface to caca_sprite

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.
...
Example:
...
Example:
...
Example:
...
Example:
...
Example:
...
Example:
...
Example:

cvars

no errors

John BEPPU <beppu@cpan.org>

perl(1)