Package svs_simulation :: Package terrain :: Module paths :: Class PathFollower
[show private | hide private]
[frames | no frames]

Class PathFollower


Used by entity to follow path.
Method Summary
  __init__(self, entity, path, loops)
  beginPath(self)
Called when an entity starts to follow the path.
  endPath(self)
Called when end of path is reached.
  enterNode(self, node)
Called when the entity enters a new node.
  exitNode(self, node)
Called when the entity leaves a node.
  getNextNode(self)
Sets next node on route.
  updateRoute(self)
Updates current position of entity on route.

Method Details

beginPath(self)

Called when an entity starts to follow the path.

endPath(self)

Called when end of path is reached.

enterNode(self, node)

Called when the entity enters a new node.

exitNode(self, node)

Called when the entity leaves a node.

getNextNode(self)

Sets next node on route.

updateRoute(self)

Updates current position of entity on route.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:26 2005 http://epydoc.sf.net