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 CharacterID
ANIMAL, PLAYER, UNKNOWN, ZOMBIE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattack(HandWeapon weapon, boolean isPVP) booleanisConsistent(UdpConnection connection) booleanisRelevant(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidprocess()voidvoidMethods inherited from class CharacterID
getCharacter, getID, set, writeMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IDescriptor
getClassDescription, getDescription, getDescriptionMethods inherited from interface INetworkPacketField
getPacketSizeBytesMethods inherited from interface 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
-