public interface IPlantControllerManagerListener
PlantControllerManager
for
created or destroyed AbstractPlantController
s for
PlantComponent
s. This is particularly useful for
JunctionController
s, which must communicate with the
PipeController
s for Pipes that are attached to its model Junction.Modifier and Type | Method and Description |
---|---|
void |
addedController(PlantComponent component,
AbstractPlantController controller)
A controller was created for a PlantComponent.
|
void |
removedController(PlantComponent component)
A controller was just deleted for a PlantComponent.
|
void addedController(PlantComponent component, AbstractPlantController controller)
component
- The PlantComponent that now has a controller.controller
- The AbstractPlantController for the component.void removedController(PlantComponent component)
component
- The PlantComponent that no longer has a controller.