Run through new formatter.

This commit is contained in:
SuPaH sPii committed 2012-12-22 00:28:37 -06:00
1 parent b48e97a799
commit 170f4dd946
34 files changed
+5636 -7150

No files matched your search

@@ -20,38 +20,31 @@ package net.h31ix.anticheat.util;
import org.bukkit.Location;
public class Distance
{
private final Location l1, l2;
public Distance(Location from, Location to)
{
l1 = to;
l2 = from;
}
public double fromY()
{
return l2.getY();
}
public double toY()
{
return l1.getY();
}
public double getXDifference()
{
return Math.abs(l1.getX() - l2.getX());
}
public double getZDifference()
{
return Math.abs(l1.getZ() - l2.getZ());
}
public double getYDifference()
{
return Math.abs(l1.getY() - l2.getY());
}
public class Distance {
private final Location l1, l2;
public Distance(Location from, Location to) {
l1 = to;
l2 = from;
}
public double fromY() {
return l2.getY();
}
public double toY() {
return l1.getY();
}
public double getXDifference() {
return Math.abs(l1.getX() - l2.getX());
}
public double getZDifference() {
return Math.abs(l1.getZ() - l2.getZ());
}
public double getYDifference() {
return Math.abs(l1.getY() - l2.getY());
}
}