public class Cell
extends java.lang.Object
Constructor and Description |
---|
Cell(Cell cell) |
Cell(org.bukkit.Location location) |
Cell(java.lang.String worldName,
int x,
int z) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CellUnderAttack |
getAttackData() |
java.lang.String |
getWorldName() |
int |
getX() |
int |
getZ() |
int |
hashCode() |
boolean |
isUnderAttack() |
static Cell |
parse(org.bukkit.Location loc) |
static Cell |
parse(java.lang.String worldName,
int x,
int z) |
void |
setWorldName(java.lang.String worldName) |
void |
setX(int x) |
void |
setZ(int z) |
public Cell(java.lang.String worldName, int x, int z)
public Cell(Cell cell)
public Cell(org.bukkit.Location location)
public int getX()
public void setX(int x)
public int getZ()
public void setZ(int z)
public java.lang.String getWorldName()
public void setWorldName(java.lang.String worldName)
public static Cell parse(java.lang.String worldName, int x, int z)
public static Cell parse(org.bukkit.Location loc)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean isUnderAttack()
public CellUnderAttack getAttackData()