diff options
author | Oli <olivier.belanger@umontreal.ca> | 2007-08-24 20:58:52 (GMT) |
---|---|---|
committer | Oli <olivier.belanger@umontreal.ca> | 2007-08-24 20:58:52 (GMT) |
commit | 6a209f15052e84430279a5fa66c2d661513c067f (patch) | |
tree | 1b56f610ece9888237166eb2cb8242573857b4b5 /Generation/Drunk.py | |
parent | d6a28d7e04123f3d2b4eb6c092e0cd807865036f (diff) |
META ALGO: Diverse algo on each track
Diffstat (limited to 'Generation/Drunk.py')
-rwxr-xr-x | Generation/Drunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Generation/Drunk.py b/Generation/Drunk.py index 0c32e1f..1bc3bbb 100755 --- a/Generation/Drunk.py +++ b/Generation/Drunk.py @@ -54,7 +54,7 @@ class DroneAndJump( Drunk ): Drunk.__init__( self, minValue, maxValue, trackLength=None ) self.minValue = min(minValue, maxValue) self.maxValue = max(minValue, maxValue) - self.beforeLastValue = self.minValue #random.randint( self.minValue, self.maxValue ) + self.beforeLastValue = random.randint( self.minValue, self.maxValue ) #self.minValue self.lastValue = self.beforeLastValue + 1 def getNextValue( self, maxStepSize, maxValue ): |