Package zombie.network.packets.hit
Class HitInfo
java.lang.Object
zombie.network.packets.hit.HitInfo
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintinit(IsoMovingObject movingObject, float float1, float float2, float float3, float float4, float float5) voidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) 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
isConsistent, log
-
Field Details
-
object
-
window
-
x
public float x -
y
public float y -
z
public float z -
dot
public float dot -
distSq
public float distSq -
chance
public int chance
-
-
Constructor Details
-
HitInfo
public HitInfo()
-
-
Method Details
-
init
public HitInfo init(IsoMovingObject movingObject, float float1, float float2, float float3, float float4, float float5) -
init
-
getObject
-
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacket
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket
-