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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getX()
float
getY()
boolean
void
parse
(ByteBuffer b, UdpConnection connection) void
set
(BaseVehicle vehicle) void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Constructor Details
-
Vehicle
public Vehicle()
-
-
Method Details
-
set
-
parse
- 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
- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classInstance
-
getX
public float getX()- Specified by:
getX
in interfaceIPositional
-
getY
public float getY()- Specified by:
getY
in interfaceIPositional
-