Package zombie.iso.areas
Class SafeHouse
java.lang.Object
zombie.iso.areas.SafeHouse
public class SafeHouse
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description SafeHouse(int int1, int int2, int int3, int int4, java.lang.String string)
-
Method Summary
Modifier and Type Method Description void
addPlayer(java.lang.String string)
static SafeHouse
addSafeHouse(int int1, int int2, int int3, int int4, java.lang.String string, boolean boolean1)
static SafeHouse
addSafeHouse(IsoGridSquare square, IsoPlayer player)
static boolean
allowSafeHouse(IsoPlayer player)
SafeHouse
alreadyHaveSafehouse(java.lang.String string)
SafeHouse
alreadyHaveSafehouse(IsoPlayer player)
static java.lang.String
canBeSafehouse(IsoGridSquare square, IsoPlayer player)
static void
clearSafehouseList()
int
getH()
java.lang.String
getId()
long
getLastVisited()
int
getOpenTimer()
java.lang.String
getOwner()
int
getPlayerConnected()
java.util.ArrayList
getPlayers()
static SafeHouse
getSafeHouse(int int1, int int2, int int3, int int4)
static SafeHouse
getSafeHouse(IsoGridSquare square)
static java.util.ArrayList
getSafehouseList()
java.lang.String
getTitle()
int
getW()
int
getX()
int
getX2()
int
getY()
int
getY2()
static SafeHouse
hasSafehouse(java.lang.String string)
static SafeHouse
hasSafehouse(IsoPlayer player)
static void
init()
boolean
isOwner(IsoPlayer player)
static SafeHouse
isSafeHouse(IsoGridSquare square, java.lang.String string, boolean boolean1)
void
kickOutOfSafehouse(IsoPlayer player)
static SafeHouse
load(java.nio.ByteBuffer byteBuffer, int int1)
boolean
playerAllowed(IsoPlayer player)
void
removePlayer(java.lang.String string)
void
removeSafeHouse(IsoPlayer player)
void
removeSafeHouse(IsoPlayer player, boolean boolean1)
void
save(java.nio.ByteBuffer byteBuffer)
void
setH(int int1)
void
setLastVisited(long long1)
void
setOpenTimer(int int1)
void
setOwner(java.lang.String string)
void
setPlayerConnected(int int1)
void
setPlayers(java.util.ArrayList arrayList)
void
setTitle(java.lang.String string)
void
setW(int int1)
void
setX(int int1)
void
setY(int int1)
void
syncSafehouse()
void
updateSafehouse(IsoPlayer player)
static void
updateSafehousePlayersConnected()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SafeHouse
public SafeHouse(int int1, int int2, int int3, int int4, java.lang.String string)
-
-
Method Details
-
init
public static void init() -
addSafeHouse
public static SafeHouse addSafeHouse(int int1, int int2, int int3, int int4, java.lang.String string, boolean boolean1) -
addSafeHouse
-
hasSafehouse
-
hasSafehouse
-
updateSafehousePlayersConnected
public static void updateSafehousePlayersConnected() -
getSafeHouse
-
getSafeHouse
-
isSafeHouse
public static SafeHouse isSafeHouse(IsoGridSquare square, java.lang.String string, boolean boolean1) -
clearSafehouseList
public static void clearSafehouseList() -
playerAllowed
-
addPlayer
public void addPlayer(java.lang.String string) -
removePlayer
public void removePlayer(java.lang.String string) -
syncSafehouse
public void syncSafehouse() -
removeSafeHouse
-
removeSafeHouse
-
save
public void save(java.nio.ByteBuffer byteBuffer) -
load
-
canBeSafehouse
-
kickOutOfSafehouse
-
alreadyHaveSafehouse
-
alreadyHaveSafehouse
-
allowSafeHouse
-
updateSafehouse
-
getId
public java.lang.String getId() -
getX
public int getX() -
setX
public void setX(int int1) -
getY
public int getY() -
setY
public void setY(int int1) -
getW
public int getW() -
setW
public void setW(int int1) -
getH
public int getH() -
setH
public void setH(int int1) -
getX2
public int getX2() -
getY2
public int getY2() -
getPlayers
public java.util.ArrayList getPlayers() -
setPlayers
public void setPlayers(java.util.ArrayList arrayList) -
getSafehouseList
public static java.util.ArrayList getSafehouseList() -
getOwner
public java.lang.String getOwner() -
setOwner
public void setOwner(java.lang.String string) -
isOwner
-
getLastVisited
public long getLastVisited() -
setLastVisited
public void setLastVisited(long long1) -
getTitle
public java.lang.String getTitle() -
setTitle
public void setTitle(java.lang.String string) -
getPlayerConnected
public int getPlayerConnected() -
setPlayerConnected
public void setPlayerConnected(int int1) -
getOpenTimer
public int getOpenTimer() -
setOpenTimer
public void setOpenTimer(int int1)
-