Package zombie.popman
Class NetworkZombieSimulator
java.lang.Object
zombie.popman.NetworkZombieSimulator
public class NetworkZombieSimulator
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_ZOMBIES_PER_UPDATE
-
Constructor Summary
Constructors Constructor Description NetworkZombieSimulator()
-
Method Summary
Modifier and Type Method Description void
add(short short1)
void
added()
void
addExtraUpdate(IsoZombie zombie)
boolean
anyUnknownZombies()
void
becomeLocal(IsoZombie zombie)
void
becomeRemote(IsoZombie zombie)
void
clear()
void
clearTargetAuth(IsoPlayer player)
int
getAuthorizedZombieCount()
static NetworkZombieSimulator
getInstance()
int
getUnauthorizedZombieCount()
boolean
isZombieSimulated(java.lang.Short Short1)
void
receivePacket(java.nio.ByteBuffer byteBuffer)
void
remove(IsoZombie zombie)
void
send()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MAX_ZOMBIES_PER_UPDATE
public static final int MAX_ZOMBIES_PER_UPDATE- See Also:
- Constant Field Values
-
-
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 short1) -
added
public void added() -
becomeLocal
-
becomeRemote
-
isZombieSimulated
public boolean isZombieSimulated(java.lang.Short Short1) -
receivePacket
public void receivePacket(java.nio.ByteBuffer byteBuffer) -
anyUnknownZombies
public boolean anyUnknownZombies() -
send
public void send() -
remove
-
clearTargetAuth
-