blob: a11558ad304086b550fdb2f80c0570a4dcfa717c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from operationscore.Behavior import *
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
|