Class PathElementPosition
java.lang.Object
org.cyclops.integrateddynamics.capability.path.PathElementDefault
org.cyclops.integrateddynamics.capability.path.PathElementPosition
- All Implemented Interfaces:
Comparable<IPathElement>, IPathElement
Implementation of
IPathElement that only carries a position.
Path elements are compared by position only, so this can be used to look up or remove
a path element in a network when the block entity it originated from is not available anymore.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PathElementDefault
compareTo, equals, getReachableElements, hashCode
-
Constructor Details
-
PathElementPosition
public PathElementPosition(org.cyclops.cyclopscore.datastructure.DimPos position)
-
-
Method Details
-
getPosition
public org.cyclops.cyclopscore.datastructure.DimPos getPosition()- Returns:
- The position of this element.
-