Package pyrobot :: Package general :: Module ants :: Class Ant
[frames | no frames]

Class Ant


An ant class

Method Summary
  __init__(self, x, y, dir, rule)
  move(self, board)
Make the ant move...
  nextPositionOffset(self)
The offsets of the next move...
  turn(self, turnDir)
What dir will the ant face next?...

Method Details

move(self, board)

Make the ant move

nextPositionOffset(self)

The offsets of the next move

turn(self, turnDir)

What dir will the ant face next?

Generated by Epydoc 2.1 on Mon Jul 25 01:39:27 2005 http://epydoc.sf.net