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 class
ZombieUpdatePacker.PlayerZombiePackInfo
-
Field Summary
Fields Modifier and Type Field Description static ZombieUpdatePacker
instance
ZombieUpdatePacker.PlayerZombiePackInfo[]
packInfo
static int
ZombieMaxRangeToPlayer
static int
ZombiePacketsSentThisTime
-
Constructor Summary
Constructors Constructor Description ZombieUpdatePacker()
-
Method Summary
Modifier and Type Method Description void
addZombieToPacker(IsoZombie zombie)
void
clearZombies()
void
packZombiesIntoPackets()
void
updateZombiesFromPacket(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)
-