| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package general :: Module ants :: Class Ant |
|
An ant class
| Method Summary | |
|---|---|
__init__(self,
x,
y,
dir,
rule)
| |
Make the ant move... | |
The offsets of the next move... | |
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? |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:27 2005 | http://epydoc.sf.net |