/***************************************************************************
                          randomsensor.h  -  description
                             -------------------
    begin                : Wed Dec 20 2000
    copyright            : (C) 2000 by Jan Walter
    email                : jan@blender.nl
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef RANDOMSENSOR_H
#define RANDOMSENSOR_H

#include <sensor.h>

/**A RandomSensor is a special kind of a general sensor. 
  *@author Jan Walter
  */

class Sensor.html">RandomSensor : public Sensor  {
public: 
	RandomSensor();
	~RandomSensor();
  /** Set the initial seed of the generator. Equal seeds produce equal series. If the seed is 0, the generator will produce the same value on every call. */
  PyObject* setSeed(int seed);
  /** Returns the initial seed of the generator. Equal seeds produce equal series. */
  PyObject* getSeed();
  /** Return the last value that was drawn. */
  PyObject* getLastDraw();
};

#endif

Documentation generated by jan@nvidea on Thu Dec 21 14:04:43 CET 2000