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
Fields inherited from class zombie.network.fields.hit.Hit
damage, hitDirectionX, hitDirectionY, hitForce, ignore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
getSpeed()
boolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
process
(IsoGameCharacter isoGameCharacter0, IsoGameCharacter isoGameCharacter1, BaseVehicle baseVehicle) 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
clone, equals, finalize, 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
public void process(IsoGameCharacter isoGameCharacter0, IsoGameCharacter isoGameCharacter1, BaseVehicle baseVehicle) -
getSpeed
-
isVehicle
-