public class GeometricalComponentLinker extends PlantComponentLinker
PlantComponentLinker
that links
GeometricalComponent
properties (position, orientation, etc.) with
the Entry
instances in a DataComponent
.Constructor and Description |
---|
GeometricalComponentLinker(PlantBlockManager plantManager)
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 GeometricalComponentLinker(PlantBlockManager plantManager)
plantManager
- 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.