summaryrefslogtreecommitdiff
path: root/src/velocity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/velocity.h')
-rw-r--r--src/velocity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/velocity.h b/src/velocity.h
index 19284a4..8392494 100644
--- a/src/velocity.h
+++ b/src/velocity.h
@@ -34,7 +34,7 @@
class Velocity
{
public:
- Velocity(unsigned int lower, unsigned int upper);
+ Velocity(unsigned int lower, unsigned int upper, Random& rand);
void addSample(Sample* sample, float probability);
Sample* getSample();
@@ -46,5 +46,5 @@ private:
typedef std::map<Sample*, float> Samples;
Samples samples;
- Random rand;
+ Random& rand;
};