return ip;
}
- private class InterpreterProcess extends FleetProcess implements Runnable {
+ public class InterpreterProcess extends FleetProcess implements Runnable {
private Instruction[] instructions;
public void flush() { }
public void sendWord(Destination d, BitVector word) {
throw new RuntimeException(e);
}
}
+
+ public void step(Dock d) {
+ ((InterpreterDock)d).service();
+ }
+
+ public void step(Ship s) {
+ ((InterpreterShip)s).service();
+ }
+
}
}
\ No newline at end of file