228229230231232233234235236237238
zahl1 = this.operand1; zahl2 = this.operand2; } else if (aut.getClass().equals(RobEA.class)) { rob = (RobEA) aut; if (this.sensor1) { zahl1 = (Integer) rob.sense(this.operand1 - 1); } else { zahl1 = this.operand1; } if (this.sensor2) {
234235236237238239240241242243244
} else { zahl1 = this.operand1; } if (this.sensor2) { zahl2 = (Integer) rob.sense(this.operand2 - 1); } else { zahl2 = this.operand2; } } else if (aut.getClass().equals(Translator.class)) { trans = (Translator) aut;