Class Damage
java.lang.Object
zombie.network.fields.hit.Damage
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
void
parse
(ByteBuffer byteBuffer, UdpConnection var2) void
processAnimal
(IsoAnimal animal1, IsoAnimal animal0) void
processPlayer
(IsoAnimal animal, IsoPlayer player) void
set
(boolean boolean0, float float0) 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, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Constructor Details
-
Damage
public Damage()
-
-
Method Details
-
set
public void set(boolean boolean0, float float0) -
parse
- Specified by:
parse
in interfaceINetworkPacketField
-
write
- Specified by:
write
in interfaceINetworkPacketField
-
processAnimal
-
processPlayer
-
getDamage
public float getDamage()
-