Package zombie.network
Class ZombieUpdatePacker
java.lang.Object
zombie.network.ZombieUpdatePacker
public class ZombieUpdatePacker
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classZombieUpdatePacker.PlayerZombiePackInfo -
Field Summary
Fields Modifier and Type Field Description static ZombieUpdatePackerinstanceZombieUpdatePacker.PlayerZombiePackInfo[]packInfostatic intZombieMaxRangeToPlayerstatic intZombiePacketsSentThisTime -
Constructor Summary
Constructors Constructor Description ZombieUpdatePacker() -
Method Summary
Modifier and Type Method Description voidaddZombieToPacker(IsoZombie zombie)voidclearZombies()voidpackZombiesIntoPackets()voidupdateZombiesFromPacket(java.nio.ByteBuffer byteBuffer)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
ZombieMaxRangeToPlayer
public static final int ZombieMaxRangeToPlayer- See Also:
- Constant Field Values
-
packInfo
-
ZombiePacketsSentThisTime
public static int ZombiePacketsSentThisTime
-
-
Constructor Details
-
ZombieUpdatePacker
public ZombieUpdatePacker()
-
-
Method Details
-
addZombieToPacker
-
clearZombies
public void clearZombies() -
packZombiesIntoPackets
public void packZombiesIntoPackets() -
updateZombiesFromPacket
public void updateZombiesFromPacket(java.nio.ByteBuffer byteBuffer)
-