| Home | Trees | Index | Help |
|
|---|
| Package pyrobot :: Package general :: Module ants :: Class Board |
|
| Method Summary | |
|---|---|
A board for ants to explore... | |
A shortcut to get a board state... | |
A shortcut to assign a board state... | |
close the window... | |
Initialize the board. | |
Move an ant in a direction... | |
| Method Details |
|---|
__init__(self,
width,
height,
pixelsPerCell=10,
title='Ants')
|
__getitem__(self,
args)
|
__setitem__(self,
(x,
y),
value)
|
close(self)close the window |
draw(self)Initialize the board. You must do this if you ever want to see the path |
move(self, x, y, xoffset=0, yoffset=0)Move an ant in a direction |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Jul 25 01:39:27 2005 | http://epydoc.sf.net |