BloodMagic/1.7.10/main/java/WayofTime/alchemicalWizardry/common/CoordAndRange.java

26 lines
778 B
Java
Raw Normal View History

2014-08-25 11:58:39 +00:00
package WayofTime.alchemicalWizardry.common;
2014-10-13 20:33:20 +00:00
public class CoordAndRange
2014-08-25 11:58:39 +00:00
{
2014-10-13 20:33:20 +00:00
public int xCoord;
public int yCoord;
public int zCoord;
public int horizRadius;
public int vertRadius;
public CoordAndRange(int x, int y, int z, int horiz, int vert)
{
this.xCoord = x;
this.yCoord = y;
this.zCoord = z;
this.horizRadius = horiz;
this.vertRadius = vert;
}
@Override
public boolean equals(Object o)
{
return o instanceof CoordAndRange ? ((CoordAndRange) o).xCoord == this.xCoord && ((CoordAndRange) o).yCoord == this.yCoord && ((CoordAndRange) o).zCoord == this.zCoord && ((CoordAndRange) o).horizRadius == this.horizRadius && ((CoordAndRange) o).vertRadius == this.vertRadius : false;
}
2014-08-25 11:58:39 +00:00
}