Package zombie.network.packets.hit
Class Bite
java.lang.Object
zombie.network.packets.hit.Bite
- All Implemented Interfaces:
INetworkPacket
public class Bite extends java.lang.Object implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description protected short
flags
protected float
hitDirection
-
Constructor Summary
Constructors Constructor Description Bite()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
void
parse(java.nio.ByteBuffer byteBuffer)
void
set(IsoZombie zombie)
void
write(ByteBufferWriter byteBufferWriter)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, isConsistent
-
Field Details
-
flags
protected short flags -
hitDirection
protected float hitDirection
-
-
Constructor Details
-
Bite
public Bite()
-
-
Method Details
-
set
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
-