Package zombie.network.packets.hit
Class Vehicle
java.lang.Object
zombie.network.packets.hit.Instance
zombie.network.packets.hit.Vehicle
- All Implemented Interfaces:
INetworkPacket
public class Vehicle extends Instance implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description protected BaseVehicle
vehicle
-
Constructor Summary
Constructors Constructor Description Vehicle()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
boolean
isConsistent()
void
parse(java.nio.ByteBuffer byteBuffer)
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.INetworkPacket
getPacketSizeBytes
-
Field Details
-
vehicle
-
-
Constructor Details
-
Vehicle
public Vehicle()
-
-
Method Details
-
set
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parse
in interfaceINetworkPacket
- Overrides:
parse
in classInstance
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classInstance
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
- Overrides:
isConsistent
in classInstance
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classInstance
-