The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Games::Tetris::Shape - representation of a tetris shape

SYNOPSIS

METHODS

new( @rows )

Construct a new shape

covers( $offset_x, $offset_y )

return a list of points that the shape covers, offset by $offset_x, $offset_y.

Each point is an anonymous array containing $x, $y, and what's in the cell

AUTHOR

Richard Clamp <richardc@unixbeard.net>

COPYRIGHT

Copyright (C) 2003 Richard Clamp. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Games::Tetris