Class HitInfo
java.lang.Object
zombie.network.fields.hit.HitInfo
- All Implemented Interfaces:
INetworkPacketField, IDescriptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintinit(IsoMovingObject obj, float dot, float distSq, float x, float y, float z) voidparse(ByteBuffer b, UdpConnection connection) voidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacketField
isConsistent
-
Field Details
-
x
public float x -
y
public float y -
z
public float z -
dot
public float dot -
distSq
public float distSq -
chance
public int chance -
object
-
window
-
-
Constructor Details
-
HitInfo
public HitInfo()
-
-
Method Details
-
init
-
init
-
init
-
getObject
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytesin interfaceINetworkPacketField
-