view attic/Nodes/delay.py @ 346:a08882a05d29

openglsim refactor. now dims a few lights
author drewp@bigasterisk.com
date Sat, 09 Jun 2007 07:09:21 +0000
parents 6931479b657a
children
line wrap: on
line source

"""delay node outputs the input a fixed time later"""


class DelayOps(Ops):
    def clocked(self, input, output, stateaccess):
        stateaccess.buffer


class Delay(Node):
    def __init__(self):
        Node.__init__(self)
        
    def getnodeparams(self):
        return {'delay':State.Time}