Class Position
java.lang.Object
zombie.network.fields.Position
- All Implemented Interfaces:
INetworkPacketField,IPositional,IDescriptor
- Direct Known Subclasses:
DeadCharacterPacket,Square,StatePacket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetX()floatgetY()floatgetZ()voidparse(ByteBuffer byteBuffer, UdpConnection var2) voidset(float float0, float float1, float float2) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistentMethods inherited from interface zombie.network.fields.IPositional
isInRange
-
Constructor Details
-
Position
public Position()
-
-
Method Details
-
set
public void set(float float0, float float1, float float2) -
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
getX
public float getX()- Specified by:
getXin interfaceIPositional
-
getY
public float getY()- Specified by:
getYin interfaceIPositional
-
getZ
public float getZ()- Specified by:
getZin interfaceIPositional
-