Class Prediction
java.lang.Object
zombie.network.fields.character.Prediction
- All Implemented Interfaces:
INetworkPacketField, IDescriptor, INetworkPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(Prediction other) voidparse(ByteBuffer b, UdpConnection connection) voidwrite(ByteBuffer b) voidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacket
isPostponed, parseClient, parseClientLoading, parseServer, postpone, processClient, processClientLoading, processServer, sendToClient, sendToClients, sendToRelativeClients, sendToServer, setData, syncMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
type
public byte type -
x
public float x -
y
public float y -
z
public byte z -
direction
public float direction -
distance
public byte distance -
position
-
-
Constructor Details
-
Prediction
public Prediction()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
write
-
copy
-