17 lines
368 B
Java
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);
|
|
}
|
|
}
|