LOG121_TP01/src/simulation/ComponentRoute.java
2022-06-07 21:06:20 -04:00

17 lines
368 B
Java

package model;
public class ComponentRoute {
private final Building outputBuilding;
public ComponentRoute(Building outputBuilding) {
this.outputBuilding = outputBuilding;
}
public void sendComponent(Component component) {
}
private void outputComponent(Component component) {
outputBuilding.processInput(component);
}
}