From 2019fb2895237aa9d86450daaf6d90831189fc13 Mon Sep 17 00:00:00 2001 From: rcoh Date: Mon, 24 Jan 2011 22:44:16 -0500 Subject: Some new stuff. Fixed a bug where screen responses weren't being synchronized. Now they are. Added XYMove to do a bouncy behavior. --- operationscore/Behavior.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'operationscore/Behavior.py') diff --git a/operationscore/Behavior.py b/operationscore/Behavior.py index 882a290..b3f7342 100644 --- a/operationscore/Behavior.py +++ b/operationscore/Behavior.py @@ -9,6 +9,7 @@ import pdb from operationscore.SmootCoreObject import * +from logger import main_log #timeStep is called on every iteration of the LightInstallation #addInput is called on each individual input received, and the inputs queue class Behavior(SmootCoreObject): @@ -56,4 +57,5 @@ class Behavior(SmootCoreObject): self.recursiveResponseQueue) self.sensorResponseQueue = [] self.recursiveResponseQueue = recursions + main_log.debug(self['Id'] + ' Ouputs ' + str(outputs)) return self.addMapperToResponse(outputs) -- cgit v1.2.3