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 TypeFieldDescriptionbooleanbooleanbooleanfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetSpeed()booleanvoidparse(ByteBufferReader b, IConnection connection) voidprocess(IsoGameCharacter wielder, IsoGameCharacter target, BaseVehicle vehicle) voidset(boolean ignore, float damage, float hitForce, float hitDirectionX, float hitDirectionY, float vehicleSpeed, boolean isTargetHitFromBehind, boolean isStaggerBack, boolean isKnockedDown) voidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
vehicleSpeed
public float vehicleSpeed -
isTargetHitFromBehind
public boolean isTargetHitFromBehind -
isStaggerBack
public boolean isStaggerBack -
isKnockedDown
public boolean isKnockedDown
-
-
Constructor Details
-
VehicleHitField
public VehicleHitField()
-
-
Method Details
-
set
public void set(boolean ignore, float damage, float hitForce, float hitDirectionX, float hitDirectionY, float vehicleSpeed, boolean isTargetHitFromBehind, boolean isStaggerBack, boolean isKnockedDown) -
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classHit
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classHit
-
process
-
getSpeed
-
isVehicle
-