Steve Cook > Tk-Taxis-2.03 > Tk::Taxis::Critter

Download:
Tk-Taxis-2.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 2.03   Source  

NAME ^

Tk::Taxis::Critter - Perl extension for simulating critters

SYNOPSIS ^

  use Tk::Taxis::Critter;
  my $critter = Tk::Taxis::Critter->new( -taxis => $taxis );
  $critter->randomise();
  $critter->move();

ABSTRACT ^

Simulates critters in a taxis object

DESCRIPTION ^

This module is used by the Tk:::Taxis class to implement the critter objects in the taxis simulation. Classes using it require the same interface as Tk::Taxis to work, namely one supporting width, height, image_width, image_height, tumble, preference, calculation and speed methods.

METHODS ^

SEE ALSO ^

Tk::Taxis

AUTHOR ^

Steve Cook, <steve@steve.gb.com>

COPYRIGHT AND LICENSE ^

Copyright 2005 by Steve Cook

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