Class WeaponHit
java.lang.Object
zombie.network.fields.hit.Hit
zombie.network.fields.hit.WeaponHit
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
-
Field Summary
FieldsFields inherited from class zombie.network.fields.hit.Hit
damage, hitDirectionX, hitDirectionY, hitForce, ignore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
process
(IsoGameCharacter isoGameCharacter1, IsoGameCharacter isoGameCharacter0, HandWeapon handWeapon) void
set
(boolean boolean0, float float0, float float4, float float1, float float2, float float3, boolean boolean1) void
write
(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.network.fields.hit.Hit
getDamage, getDescription, set
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, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
range
protected float range -
hitHead
protected boolean hitHead
-
-
Constructor Details
-
WeaponHit
public WeaponHit()
-
-
Method Details
-
set
public void set(boolean boolean0, float float0, float float4, float float1, float float2, float float3, boolean boolean1) -
parse
- Specified by:
parse
in interfaceINetworkPacketField
- Overrides:
parse
in classHit
-
write
- Specified by:
write
in interfaceINetworkPacketField
- Overrides:
write
in classHit
-
process
public void process(IsoGameCharacter isoGameCharacter1, IsoGameCharacter isoGameCharacter0, HandWeapon handWeapon)
-