Class AnimalID
java.lang.Object
zombie.network.fields.IDShort
zombie.network.fields.character.AnimalID
- All Implemented Interfaces:
INetworkPacketField, IPositional, IDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfloatgetX()floatgetY()floatgetZ()booleanisConsistent(UdpConnection connection) booleanisRelevant(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidtoString()voidMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacketField
getPacketSizeBytesMethods inherited from interface IPositional
isInRange
-
Constructor Details
-
AnimalID
public AnimalID()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classIDShort
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classIDShort
-
getAnimal
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField- Overrides:
isConsistentin classIDShort
-
toString
-
copy
-
getX
public float getX()- Specified by:
getXin interfaceIPositional
-
getY
public float getY()- Specified by:
getYin interfaceIPositional
-
getZ
public float getZ()- Specified by:
getZin interfaceIPositional
-
isRelevant
-