Beispiel #1
0
def engine_test(count):
    master = Node("MASTER")
    renderer = NodeRenderer(640, 480)
    boids_simulator = NodeBoidsSimulator(count)
    
    master.attach(renderer)
    master.attach(boids_simulator)
    
    master.run()
Beispiel #2
0
def dummy_test():
    d1 = DummyNode("dummy")
    d2 = DummyNode("dumby")
    d3 = DummyNode("tardy")
    
    master = Node("MASTER")
    
    master.attach(d1)
    master.attach(d2)
    master.attach(d3)

    master.run()