NAME
Term::Caca::Sprite - an OO-interface to caca_sprite
SYNOPSIS
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.
DESCRIPTION
a brief summary of the module written with users in mind.
METHODS
new
...
Example:
load
The load() method is a synonym for new() and they can be used interchangably.
get_frames
...
Example:
get_width
...
Example:
get_height
...
Example:
get_dx
...
Example:
get_dy
...
Example:
draw
...
Example:
DESTROY
...
Example:
CLASS VARIABLES
cvars
DIAGNOSTICS
no errors
AUTHOR
John BEPPU <beppu@cpan.org>
SEE ALSO
perl(1)