Package zombie.network.packets.hit
Class HitInfo
java.lang.Object
zombie.network.packets.hit.HitInfo
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
init
(IsoMovingObject movingObject, float float1, float float2, float float3, float float4, float float5) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) 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
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:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-