aboutsummaryrefslogtreecommitdiff
path: root/behaviors/DecayBehavior.py
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2010-12-20 14:50:08 -0500
committerGravatar rcoh <rcoh@mit.edu>2010-12-20 14:50:08 -0500
commit2736307c1d6d67868ca54a3df951f9e959efedd0 (patch)
tree50a61c798d52987f8fe575f678aaff5b5b9455b9 /behaviors/DecayBehavior.py
parent7386cbc7ce48e3996d92d84cff3d1a4dab8f538d (diff)
Util cleanup is done! Util.py is now refactored into the util module. Woo! RCOH
Diffstat (limited to 'behaviors/DecayBehavior.py')
-rw-r--r--behaviors/DecayBehavior.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/behaviors/DecayBehavior.py b/behaviors/DecayBehavior.py
index edc833d..56e1686 100644
--- a/behaviors/DecayBehavior.py
+++ b/behaviors/DecayBehavior.py
@@ -1,5 +1,6 @@
from operationscore.Behavior import *
from pixelevents.DecayEvent import *
+import util.Strings as Strings
import Util
import pdb
class DecayBehavior(Behavior):
@@ -7,7 +8,7 @@ class DecayBehavior(Behavior):
ret = []
for sensory in sensorInputs:
outDict = {}
- outDict[Util.location] = sensory[Util.location]
+ outDict[Strings.LOCATION] = sensory[Strings.LOCATION]
outDict['PixelEvent'] = \
DecayEvent.generate(self['DecayType'],self['Coefficient'], sensory['Color'])
ret.append(outDict)