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 obj, float dot, float distSq, float x, float y, float z) void
parse
(ByteBuffer b, UdpConnection connection) void
Methods inherited from class java.lang.Object
equals, 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
-
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
-