Class Damage
java.lang.Object
zombie.network.fields.hit.Damage
- All Implemented Interfaces:
INetworkPacketField
,IDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
protected boolean
protected static final float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
void
parse
(ByteBuffer byteBuffer, UdpConnection var2) void
processAnimal
(IsoAnimal isoAnimal1, IsoAnimal isoAnimal0) void
processPlayer
(IsoAnimal isoAnimal, IsoPlayer isoPlayer) void
set
(boolean boolean0, float float0) 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, getDescription
Methods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytes, isConsistent
-
Field Details
-
MAX_DAMAGE
protected static final float MAX_DAMAGE- See Also:
-
ignore
protected boolean ignore -
damage
protected float damage
-
-
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()
-