Package SmootLight :: Package behaviors :: Module AllPixels
[hide private]
[frames] | no frames]

Source Code for Module SmootLight.behaviors.AllPixels

 1  from operationscore.Behavior import * 
2 -class AllPixels(Behavior):
3 """Turns on all Pixels in the installation. Must use SimpleMapper, or other Mapper supporting 4 conditional pixel locations.""" 5
6 - def processResponse(self, sensorInputs, recursiveInputs):
7 for sensory in sensorInputs:#TODO: consider replicating the dict 8 sensory['Location'] = 'True' 9 return (sensorInputs, recursiveInputs)
10