Class NetworkZombieSimulator
java.lang.Object
zombie.popman.NetworkZombieSimulator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(short onlineId) void
added()
void
addExtraUpdate
(IsoZombie zombie) boolean
void
void
void
clear()
void
clearTargetAuth
(IsoPlayer player) int
static NetworkZombieSimulator
int
boolean
isZombieSimulated
(Short zombieId) void
receivePacket
(ByteBuffer b, UdpConnection connection) void
void
send()
-
Field Details
-
MAX_ZOMBIES_PER_UPDATE
public static final int MAX_ZOMBIES_PER_UPDATE- See Also:
-
-
Constructor Details
-
NetworkZombieSimulator
public NetworkZombieSimulator()
-
-
Method Details
-
getInstance
-
getAuthorizedZombieCount
public int getAuthorizedZombieCount() -
getUnauthorizedZombieCount
public int getUnauthorizedZombieCount() -
clear
public void clear() -
addExtraUpdate
-
add
public void add(short onlineId) -
added
public void added() -
becomeLocal
-
becomeRemote
-
isZombieSimulated
-
receivePacket
-
anyUnknownZombies
public boolean anyUnknownZombies() -
send
public void send() -
remove
-
clearTargetAuth
-