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

Class XYMove

source code

                                    object --+        
                                             |        
operationscore.SmootCoreObject.SmootCoreObject --+    
                                                 |    
                  operationscore.Behavior.Behavior --+
                                                     |
                                                    XYMove

XYMove is a behavior designed to be used as a recursive hook to ResponseMover to move pixels by XStep and YStep. As XStep and YStep are maintained in the responses itself, they can be modulated to facilitate, acceleration, modulation, bouncing, etc. Specify: <XStep> -- the starting XStep <YStep> -- the starting YStep

Instance Methods [hide private]
 
processResponse(self, sensor, recurs) source code
 
insertStepIfMissing(self, data) source code

Inherited from operationscore.Behavior.Behavior: addInput, addInputs, addMapper, addMapperToResponse, behaviorInit, getLastOutput, immediateProcessInput, init, setLastOutput, timeStep

Inherited from operationscore.SmootCoreObject.SmootCoreObject: __contains__, __getitem__, __getiter__, __init__, __setitem__, acquireLock, addDieListener, className, die, releaseLock, removeDieListener, validateArgDict, validateArgs

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from operationscore.Behavior.Behavior: deepCopyPacket

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

processResponse(self, sensor, recurs)

source code 
Overrides: operationscore.Behavior.Behavior.processResponse