예제 #1
0
파일: Circuit.cs 프로젝트: rveens/OOPA
 /// <summary>
 /// Add an input to the inputs in the circuit.
 /// </summary>
 /// <param name="ip">The input that has to be added.</param>
 public void AddInput(Input ip)
 {
     inputs.Add(ip);
 }
예제 #2
0
파일: NodeVisitor.cs 프로젝트: rveens/OOPA
 public virtual void visit(Input node)
 {
 }
예제 #3
0
 public override void visit(Input node)
 {
     circuit.AddInput(node);
 }