Class VehicleHitField
java.lang.Object
zombie.network.fields.hit.Hit
zombie.network.fields.hit.VehicleHitField
- All Implemented Interfaces:
IMovable
,INetworkPacketField
,IDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
int
float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
getSpeed()
boolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
process
(IsoGameCharacter character0, IsoGameCharacter character1, BaseVehicle vehicle) void
set
(boolean boolean0, float float0, float float1, float float2, float float3, int int0, float float4, boolean boolean1, boolean boolean2) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
vehicleDamage
public int vehicleDamage -
vehicleSpeed
public float vehicleSpeed -
isVehicleHitFromBehind
public boolean isVehicleHitFromBehind -
isTargetHitFromBehind
public boolean isTargetHitFromBehind
-
-
Constructor Details
-
VehicleHitField
public VehicleHitField()
-
-
Method Details
-
set
public void set(boolean boolean0, float float0, float float1, float float2, float float3, int int0, float float4, boolean boolean1, boolean boolean2) -
parse
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classHit
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classHit
-
getDescription
- Specified by:
getDescription
in interfaceIDescriptor
- Overrides:
getDescription
in classHit
-
process
-
getSpeed
-
isVehicle
-