Class Damage
java.lang.Object
zombie.network.fields.hit.Damage
- All Implemented Interfaces:
INetworkPacketField, IDescriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatvoidparse(ByteBuffer b, UdpConnection connection) voidprocessAnimal(IsoAnimal wielder, IsoAnimal target) voidprocessPlayer(IsoAnimal wielder, IsoPlayer target) voidset(boolean ignore, float damage) 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
-
Constructor Details
-
Damage
public Damage()
-
-
Method Details
-
set
public void set(boolean ignore, float damage) -
parse
- Specified by:
parsein interfaceINetworkPacketField
-
write
- Specified by:
writein interfaceINetworkPacketField
-
processAnimal
-
processPlayer
-
getDamage
public float getDamage()
-