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 shortflagsprotected floathitDirection -
Constructor Summary
Constructors Constructor Description Bite() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()voidparse(java.nio.ByteBuffer byteBuffer)voidset(IsoZombie zombie)voidwrite(ByteBufferWriter byteBufferWriter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceINetworkPacket
-