/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ch.wlkl.processor;
/**
*
* @author walter
*/
public class GateOr extends GateInL {
public GateOr() {
}
public GateOr(Gate... gates) {
super(gates);
}
public void update() {
for (Gate i : in) {
if (i.get()) {
set(true);
return;
}
}
set(false);
}
}