public class JunctionLinker extends PlantComponentLinker
PlantComponentLinker
that links
Junction
properties (inputs and outputs) with the Entry
instances in a DataComponent
.Constructor and Description |
---|
JunctionLinker(PlantBlockManager plantBlockManager)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<EntryListener> |
linkComponents(PlantComponent plantComp,
DataComponent dataComp)
Links a PlantComponent with supported
Entry instances contained
in a DataComponent. |
public JunctionLinker(PlantBlockManager plantBlockManager)
plantBlockManager
- The PlantBlockManager that must link Entries with
PlantComponent properties.public java.util.List<EntryListener> linkComponents(PlantComponent plantComp, DataComponent dataComp)
PlantComponentLinker
Entry
instances contained
in a DataComponent.linkComponents
in class PlantComponentLinker
plantComp
- The PlantComponent whose properties are contained in Entries.dataComp
- The DataComponent that contains the Entries.EntryListener
s created to link the Entries
and PlantComponents.