Package zombie.iso.areas
Class NonPvpZone
java.lang.Object
zombie.iso.areas.NonPvpZone
public class NonPvpZone
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static java.util.ArrayList
nonPvpZoneList
-
Constructor Summary
Constructors Constructor Description NonPvpZone()
NonPvpZone(java.lang.String title, int x, int y, int x2, int y2)
-
Method Summary
Modifier and Type Method Description static NonPvpZone
addNonPvpZone(java.lang.String title, int x, int y, int x2, int y2)
static java.util.ArrayList
getAllZones()
static NonPvpZone
getNonPvpZone(int x, int y)
int
getSize()
java.lang.String
getTitle()
int
getX()
int
getX2()
int
getY()
int
getY2()
static NonPvpZone
getZoneByTitle(java.lang.String title)
void
load(java.nio.ByteBuffer input, int WorldVersion)
static void
removeNonPvpZone(java.lang.String title, boolean remote)
void
save(java.nio.ByteBuffer output)
void
setSize(int size)
void
setTitle(java.lang.String title)
void
setX(int x)
void
setX2(int x2)
void
setY(int y)
void
setY2(int y2)
void
syncNonPvpZone(boolean remove)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
nonPvpZoneList
public static java.util.ArrayList nonPvpZoneList
-
-
Constructor Details
-
NonPvpZone
public NonPvpZone() -
NonPvpZone
public NonPvpZone(java.lang.String title, int x, int y, int x2, int y2)
-
-
Method Details
-
addNonPvpZone
-
removeNonPvpZone
public static void removeNonPvpZone(java.lang.String title, boolean remote) -
getZoneByTitle
-
getNonPvpZone
-
getAllZones
public static java.util.ArrayList getAllZones() -
syncNonPvpZone
public void syncNonPvpZone(boolean remove) -
save
public void save(java.nio.ByteBuffer output) -
load
public void load(java.nio.ByteBuffer input, int WorldVersion) -
getX
public int getX() -
setX
public void setX(int x) -
getY
public int getY() -
setY
public void setY(int y) -
getX2
public int getX2() -
setX2
public void setX2(int x2) -
getY2
public int getY2() -
setY2
public void setY2(int y2) -
getTitle
public java.lang.String getTitle() -
setTitle
public void setTitle(java.lang.String title) -
getSize
public int getSize() -
setSize
public void setSize(int size)
-