Package zombie.network.packets.hit
Class ZombieHitPlayerPacket
java.lang.Object
zombie.network.packets.hit.HitCharacterPacket
zombie.network.packets.hit.ZombieHitPlayerPacket
- All Implemented Interfaces:
INetworkPacket
public class ZombieHitPlayerPacket extends HitCharacterPacket implements INetworkPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.network.packets.hit.HitCharacterPacket
HitCharacterPacket.HitType -
Field Summary
-
Constructor Summary
Constructors Constructor Description ZombieHitPlayerPacket() -
Method Summary
Modifier and Type Method Description protected voidattack()java.lang.StringgetDescription()booleanisConsistent()booleanisRelevant(UdpConnection udpConnection)voidparse(java.nio.ByteBuffer byteBuffer)protected voidpostProcess()protected voidpreProcess()protected voidprocess()protected voidreact()voidset(IsoZombie zombie, IsoPlayer player)voidwrite(ByteBufferWriter byteBufferWriter)Methods inherited from class zombie.network.packets.hit.HitCharacterPacket
getHitDescription, postpone, process, tryProcess, tryProcessInternalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes
-
Field Details
-
wielder
-
target
-
bite
-
-
Constructor Details
-
ZombieHitPlayerPacket
public ZombieHitPlayerPacket()
-
-
Method Details
-
set
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket- Overrides:
writein classHitCharacterPacket
-
isRelevant
- Specified by:
isRelevantin classHitCharacterPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin interfaceINetworkPacket- Overrides:
getDescriptionin classHitCharacterPacket
-
preProcess
protected void preProcess()- Overrides:
preProcessin classHitCharacterPacket
-
process
protected void process()- Overrides:
processin classHitCharacterPacket
-
postProcess
protected void postProcess()- Overrides:
postProcessin classHitCharacterPacket
-
attack
protected void attack()- Specified by:
attackin classHitCharacterPacket
-
react
protected void react()- Specified by:
reactin classHitCharacterPacket
-