Class Vehicle
java.lang.Object
zombie.network.fields.IDShort
zombie.network.fields.Vehicle
- All Implemented Interfaces:
INetworkPacketField
,IPositional
,IDescriptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
getX()
float
getY()
float
getZ()
boolean
isConsistent
(UdpConnection udpConnection) void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
set
(BaseVehicle baseVehicle) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes
-
Field Details
-
vehicle
-
-
Constructor Details
-
Vehicle
public Vehicle()
-
-
Method Details
-
set
-
parse
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classIDShort
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classIDShort
-
isConsistent
- Specified by:
isConsistent
in interfaceINetworkPacketField
- Overrides:
isConsistent
in classIDShort
-
getVehicle
-
getX
public float getX()- Specified by:
getX
in interfaceIPositional
-
getY
public float getY()- Specified by:
getY
in interfaceIPositional
-
getZ
public float getZ()- Specified by:
getZ
in interfaceIPositional
-