1
# $Id: SCA_RandomSensor.py,v 1.2 2004/05/30 11:09:46 kester Exp $
2
# Documentation for SCA_RandomSensor
3
from SCA_ISensor import *
5
class SCA_RandomSensor(SCA_ISensor):
7
This sensor activates randomly.
12
Sets the seed of the random number generator.
14
If the seed is 0, the generator will produce the same value on every call.
20
Returns the initial seed of the generator. Equal seeds produce equal random
27
Returns the last random number generated.