29public enum LMSSafezone {
31 MOUNTAIN(3430, 3440, 5839, 5849),
32 TRINITY_OUTPOST(3481, 3491, 5870, 5880),
33 DEBTOR_HIDEOUT(3400, 3410, 5794, 5804),
34 MOSER_SETTLEMENT(3470, 3480, 5782, 5792)
37 public int boundsXSW, boundsXNE, boundsYSW, boundsYNE;
39 LMSSafezone(
int boundsXSW,
int boundsXNE,
int boundsYSW,
int boundsYNE) {
40 this.boundsXSW = boundsXSW;
41 this.boundsXNE = boundsXNE;
42 this.boundsYSW = boundsYSW;
43 this.boundsYNE = boundsYNE;
46 public boolean inSafeZone(
Player player) {
47 return Boundary.isIn(player,
new Boundary(this.boundsXSW, this.boundsYSW, this.boundsXNE, this.boundsYNE));