Package zombie.network.packets.hit
Class Fall
java.lang.Object
zombie.network.packets.hit.Fall
- All Implemented Interfaces:
INetworkPacket
public class Fall extends java.lang.Object implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description protected floatdropDirectionprotected floatdropPositionXprotected floatdropPositionYprotected bytedropPositionZ -
Constructor Summary
Constructors Constructor Description Fall() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()voidparse(java.nio.ByteBuffer byteBuffer)voidprocess(IsoGameCharacter gameCharacter)voidset(float float1, float float2, byte byte1, float float3)voidset(HitReactionNetworkAI hitReactionNetworkAI)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
-
dropPositionX
protected float dropPositionX -
dropPositionY
protected float dropPositionY -
dropPositionZ
protected byte dropPositionZ -
dropDirection
protected float dropDirection
-
-
Constructor Details
-
Fall
public Fall()
-
-
Method Details
-
set
-
set
public void set(float float1, float float2, byte byte1, float float3) -
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
-
process
-