Minor Change
Minor spacing and annotation changes.
This commit is contained in:
@@ -60,6 +60,7 @@ public abstract class DimLink
|
||||
{
|
||||
return tail.getDestination();
|
||||
}
|
||||
|
||||
public int getDestinationOrientation()
|
||||
{
|
||||
DimLink link = PocketManager.getLink(this.destination().getX(), this.destination().getY(), this.destination().getZ(), this.destination().getDimension());
|
||||
@@ -69,6 +70,7 @@ public abstract class DimLink
|
||||
}
|
||||
return (this.orientation()+2)%4;
|
||||
}
|
||||
|
||||
public boolean hasDestination()
|
||||
{
|
||||
return (tail.getDestination() != null);
|
||||
@@ -94,6 +96,7 @@ public abstract class DimLink
|
||||
return tail.getLinkType();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return link.point + " -> " + (hasDestination() ? destination() : "");
|
||||
|
||||
@@ -141,12 +141,14 @@ public final class Point4D implements Comparable<Point4D>
|
||||
|
||||
public Point3D toPoint3D()
|
||||
{
|
||||
return new Point3D(this.x,this.y,this.z);
|
||||
return new Point3D(this.x, this.y, this.z);
|
||||
}
|
||||
|
||||
public int[] toIntArray()
|
||||
{
|
||||
return new int[]{x,y,z,dimension};
|
||||
return new int[] {x, y, z, dimension};
|
||||
}
|
||||
|
||||
public boolean equals(Point4D other)
|
||||
{
|
||||
if (this == other)
|
||||
|
||||
Reference in New Issue
Block a user