util: Final fields
This commit is contained in:
@@ -8,13 +8,13 @@ import net.runelite.api.coords.WorldPoint;
|
|||||||
|
|
||||||
public class MiscUtils
|
public class MiscUtils
|
||||||
{
|
{
|
||||||
private static int[] abovePointsX = {2944, 3392, 3392, 2944};
|
private static final int[] abovePointsX = {2944, 3392, 3392, 2944};
|
||||||
private static int[] abovePointsY = {3523, 3523, 3971, 3971};
|
private static final int[] abovePointsY = {3523, 3523, 3971, 3971};
|
||||||
private static int[] belowPointsX = {2944, 2944, 3264, 3264};
|
private static final int[] belowPointsX = {2944, 2944, 3264, 3264};
|
||||||
private static int[] belowPointsY = {9918, 10360, 10360, 9918};
|
private static final int[] belowPointsY = {9918, 10360, 10360, 9918};
|
||||||
|
|
||||||
private static Polygon abovePoly = new Polygon(abovePointsX, abovePointsY, abovePointsX.length);
|
private static final Polygon abovePoly = new Polygon(abovePointsX, abovePointsY, abovePointsX.length);
|
||||||
private static Polygon belowPoly = new Polygon(belowPointsX, belowPointsY, belowPointsX.length);
|
private static final Polygon belowPoly = new Polygon(belowPointsX, belowPointsY, belowPointsX.length);
|
||||||
|
|
||||||
//test replacement so private for now
|
//test replacement so private for now
|
||||||
private static boolean inWildy(WorldPoint point)
|
private static boolean inWildy(WorldPoint point)
|
||||||
|
|||||||
@@ -79,10 +79,10 @@ public enum WildernessLocation
|
|||||||
|
|
||||||
public static class Location
|
public static class Location
|
||||||
{
|
{
|
||||||
public int x;
|
public final int x;
|
||||||
public int y;
|
public final int y;
|
||||||
public int width;
|
public final int width;
|
||||||
public int height;
|
public final int height;
|
||||||
|
|
||||||
Location(int x, int y, int x1, int y1)
|
Location(int x, int y, int x1, int y1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user