From fd13edeeb2f277ee78af6d8ced1fba81a67ed1ba Mon Sep 17 00:00:00 2001 From: lalpert Date: Sun, 20 Feb 2011 18:32:10 -0500 Subject: Made C5Sign-pygame use Leah, added import random, mae rain faster --- config/C5Sign-Leah.xml | 6 +++--- config/C5Sign-pygame.xml | 2 +- inputs/ParametricLocationInput.py | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/C5Sign-Leah.xml b/config/C5Sign-Leah.xml index dc7305e..94fda27 100644 --- a/config/C5Sign-Leah.xml +++ b/config/C5Sign-Leah.xml @@ -48,7 +48,7 @@ top random.random() 0 - 500 + 100 @@ -94,7 +94,7 @@ xymove 0 - 2 + .5 @@ -104,7 +104,7 @@ modifyY Sensor YStep - {val}+.5 + {val}+.1 diff --git a/config/C5Sign-pygame.xml b/config/C5Sign-pygame.xml index 2040642..d08e14c 100644 --- a/config/C5Sign-pygame.xml +++ b/config/C5Sign-pygame.xml @@ -14,5 +14,5 @@ - config/C5Sign.xml + config/C5Sign-Leah.xml diff --git a/inputs/ParametricLocationInput.py b/inputs/ParametricLocationInput.py index e817a9d..7c7e968 100644 --- a/inputs/ParametricLocationInput.py +++ b/inputs/ParametricLocationInput.py @@ -1,6 +1,7 @@ import util.TimeOps as clock import util.ComponentRegistry as compReg import util.Strings as Strings +import random from operationscore.Input import * class ParametricLocationInput(Input): """Takes three arguments: xEquation, yEquation, and useClock where -- cgit v1.2.3