Class VehicleID
java.lang.Object
zombie.network.fields.IDShort
zombie.network.fields.vehicle.VehicleID
- All Implemented Interfaces:
INetworkPacketField, IPositional, IDescriptor
- Direct Known Subclasses:
VehicleRequestPacket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetX()floatgetY()floatgetZ()booleanisConsistent(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidset(BaseVehicle vehicle) 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
getPacketSizeBytesMethods inherited from interface IPositional
isInRange
-
Constructor Details
-
VehicleID
public VehicleID()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classIDShort
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classIDShort
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField- Overrides:
isConsistentin classIDShort
-
getVehicle
-
getX
public float getX()- Specified by:
getXin interfaceIPositional
-
getY
public float getY()- Specified by:
getYin interfaceIPositional
-
getZ
public float getZ()- Specified by:
getZin interfaceIPositional
-