Interface IPathElement
- All Superinterfaces:
Comparable<IPathElement>
- All Known Implementing Classes:
PartTypeConnector.State
,PartTypeConnectorMonoDirectional.State
,PartTypeConnectorOmniDirectional.State
,PathElementCable
,PathElementDefault
,PathElementTile
,PathElementTileMultipartTicking
An element that can be used to construct paths using the
PathFinder
.
Multiple instances for the same 'element' can be created, so the comparator implementation must
make sure that these instances are considered equal.
These instances are used as a simple way of referring to these elements.-
Method Summary
Modifier and TypeMethodDescriptionorg.cyclops.cyclopscore.datastructure.DimPos
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPosition
org.cyclops.cyclopscore.datastructure.DimPos getPosition()- Returns:
- The position of this element.
-
getReachableElements
Set<ISidedPathElement> getReachableElements()- Returns:
- The set of all path elements that can be reached from here.
-