Class Character
java.lang.Object
zombie.network.fields.character.CharacterID
zombie.network.fields.hit.Character
- All Implemented Interfaces:
INetworkPacketField, IPositional, IDescriptor
-
Field Summary
Fields inherited from class CharacterID
ANIMAL, PLAYER, UNKNOWN, ZOMBIE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetX()floatgetY()floatgetZ()booleanisConsistent(UdpConnection connection) voidparse(ByteBuffer b, UdpConnection connection) voidreact()voidset(IsoGameCharacter character) voidMethods 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
-
Character
public Character()
-
-
Method Details
-
set
- Overrides:
setin classCharacterID
-
parse
- Specified by:
parsein interfaceINetworkPacketField- Overrides:
parsein classCharacterID
-
write
- Specified by:
writein interfaceINetworkPacketField- Overrides:
writein classCharacterID
-
isConsistent
- Specified by:
isConsistentin interfaceINetworkPacketField- Overrides:
isConsistentin classCharacterID
-
react
public void react() -
getX
public float getX()- Specified by:
getXin interfaceIPositional- Overrides:
getXin classCharacterID
-
getY
public float getY()- Specified by:
getYin interfaceIPositional- Overrides:
getYin classCharacterID
-
getZ
public float getZ()- Specified by:
getZin interfaceIPositional- Overrides:
getZin classCharacterID
-