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 intMAX_ZOMBIES_PER_UPDATE -
Constructor Summary
Constructors Constructor Description NetworkZombieSimulator() -
Method Summary
Modifier and Type Method Description voidadd(short short1)voidadded()voidaddExtraUpdate(IsoZombie zombie)booleananyUnknownZombies()voidbecomeLocal(IsoZombie zombie)voidbecomeRemote(IsoZombie zombie)voidclear()voidclearTargetAuth(IsoPlayer player)intgetAuthorizedZombieCount()static NetworkZombieSimulatorgetInstance()intgetUnauthorizedZombieCount()booleanisZombieSimulated(java.lang.Short Short1)voidreceivePacket(java.nio.ByteBuffer byteBuffer)voidremove(IsoZombie zombie)voidsend()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
-