Class Player
java.lang.Object
zombie.network.fields.character.CharacterID
zombie.network.fields.hit.Character
zombie.network.fields.hit.Player
- All Implemented Interfaces:
INetworkPacketField,IPositional,IDescriptor
-
Field Summary
Fields inherited from class zombie.network.fields.character.CharacterID
ANIMAL, PLAYER, UNKNOWN, ZOMBIE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattack(HandWeapon weapon, boolean boolean0) booleanisConsistent(UdpConnection udpConnection) booleanisRelevant(UdpConnection udpConnection) voidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidprocess()voidvoidwrite(ByteBufferWriter byteBufferWriter) Methods inherited from class zombie.network.fields.character.CharacterID
getCharacter, getID, set, writeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.network.packets.IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface zombie.network.fields.INetworkPacketField
getPacketSizeBytesMethods inherited from interface zombie.network.fields.IPositional
isInRange
-
Constructor Details
-
Player
public Player()
-
-
Method Details
-
set
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classCharacter
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classCharacter
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField- Overrides:
isConsistentin classCharacter
-
process
public void process() -
attack
-
getPlayer
-
isRelevant
-