Package zombie.network.packets.hit
Class Zombie
java.lang.Object
zombie.network.packets.hit.Instance
zombie.network.packets.hit.Character
zombie.network.packets.hit.Zombie
- All Implemented Interfaces:
INetworkPacket
public class Zombie extends Character implements INetworkPacket
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
attackOutcome
protected java.lang.String
attackPosition
protected IsoZombie
zombie
protected short
zombieFlags
Fields inherited from class zombie.network.packets.hit.Character
character, characterFlags, characterReaction, directionX, directionY, playerReaction, positionX, positionY, positionZ, zombieReaction
-
Constructor Summary
Constructors Constructor Description Zombie()
-
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
boolean
isConsistent()
void
parse(java.nio.ByteBuffer byteBuffer)
protected void
react(HandWeapon handWeapon)
void
set(IsoZombie zombie, boolean boolean1)
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.INetworkPacket
getPacketSizeBytes
-
Field Details
-
zombie
-
zombieFlags
protected short zombieFlags -
attackOutcome
protected java.lang.String attackOutcome -
attackPosition
protected java.lang.String attackPosition
-
-
Constructor Details
-
Zombie
public Zombie()
-
-
Method Details
-
set
-
parse
public void parse(java.nio.ByteBuffer byteBuffer)- Specified by:
parse
in interfaceINetworkPacket
- Overrides:
parse
in classCharacter
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classCharacter
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
- Overrides:
isConsistent
in classCharacter
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classCharacter
-
react
-