Package pyrobot :: Package simulators :: Package pysim :: Class Simulator
[frames | no frames]

Class Simulator

Known Subclasses:
TkSimulator

Method Summary
  __init__(self, (width, height), (offset_x, offset_y), scale)
  addBox(self, ulx, uly, lrx, lry)
  addLight(self, x, y, brightness, color)
  addRobot(self, port, r)
  addWall(self, x1, y1, x2, y2)
  castRay(self, robot, x1, y1, a, maxRange, ignoreSelf)
  drawLine(self, x1, y1, x2, y2, color)
  process(self, request, sockname)
Process does all of the work.
  redraw(self)
  scale_x(self, x)
  scale_y(self, y)
  step(self)
Advance the world by timeslice milliseconds.

Method Details

process(self, request, sockname)

Process does all of the work.
request  - a string message
sockname - (IPNUMBER (str), SOCKETNUM (int)) from client

step(self)

Advance the world by timeslice milliseconds.

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