aboutsummaryrefslogtreecommitdiff
path: root/EchoBehavior.py
diff options
context:
space:
mode:
Diffstat (limited to 'EchoBehavior.py')
-rw-r--r--EchoBehavior.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/EchoBehavior.py b/EchoBehavior.py
new file mode 100644
index 0000000..6d0a79b
--- /dev/null
+++ b/EchoBehavior.py
@@ -0,0 +1,12 @@
+from Behavior import Behavior
+import Util
+import pdb
+class EchoBehavior(Behavior):
+ def processResponse(self, sensorInputs, recursiveInputs):
+ ret = []
+ for sensory in sensorInputs:
+ outDict = {}
+ outDict[Util.location] = sensory[Util.location]
+ outDict['Color'] = (255,0,0)
+ ret.append(outDict)
+ return ret