in reply to Plibbles
sub draw_worm { my @worm = @_; my $head = shift @worm; $o->addstr($head->{y}, $head->{x}, '@'); foreach my $segment (@worm) { $o->addstr($segment->{y}, $segment->{x}, 'o'); if ($bleh) { #stuff } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Plibbles
by tye (Sage) on Jul 12, 2001 at 15:13 UTC |