Package zombie.network.packets.hit
Class Vehicle
java.lang.Object
zombie.network.packets.hit.Instance
zombie.network.packets.hit.Vehicle
- All Implemented Interfaces:
IPositional,INetworkPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetX()floatgetY()booleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidset(BaseVehicle baseVehicle) voidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
vehicle
-
-
Constructor Details
-
Vehicle
public Vehicle()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacket- Overrides:
parsein classInstance
-
write
- Specified by:
writein interfaceINetworkPacket- Overrides:
writein classInstance
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket- Overrides:
isConsistentin classInstance
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket- Overrides:
getDescriptionin classInstance
-
getX
public float getX()- Specified by:
getXin interfaceIPositional
-
getY
public float getY()- Specified by:
getYin interfaceIPositional
-