Package zombie.network.packets.hit
Class Character
java.lang.Object
zombie.network.packets.hit.Instance
zombie.network.packets.hit.Character
- All Implemented Interfaces:
 IPositional,INetworkPacket
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IsoGameCharacterprotected shortprotected Stringprotected floatprotected floatprotected Stringprotected floatprotected floatprotected floatprotected String - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract IsoGameCharacterfloatgetX()floatgetY()booleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) protected voidreact()voidset(IsoGameCharacter gameCharacter) voidwrite(ByteBufferWriter byteBufferWriter) Methods 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, log 
- 
Field Details
- 
character
 - 
characterFlags
protected short characterFlags - 
positionX
protected float positionX - 
positionY
protected float positionY - 
positionZ
protected float positionZ - 
directionX
protected float directionX - 
directionY
protected float directionY - 
characterReaction
 - 
playerReaction
 - 
zombieReaction
 
 - 
 - 
Constructor Details
- 
Character
public Character() 
 - 
 - 
Method Details
- 
set
 - 
parse
- Specified by:
 parsein interfaceINetworkPacket- Overrides:
 parsein classInstance
 - 
write
- Specified by:
 writein interfaceINetworkPacket- Overrides:
 writein classInstance
 - 
isConsistent
public boolean isConsistent()- Specified by:
 isConsistentin interfaceINetworkPacket- Overrides:
 isConsistentin classInstance
 - 
getDescription
- Specified by:
 getDescriptionin interfaceINetworkPacket- Overrides:
 getDescriptionin classInstance
 - 
react
protected void react() - 
getX
public float getX()- Specified by:
 getXin interfaceIPositional
 - 
getY
public float getY()- Specified by:
 getYin interfaceIPositional
 - 
getCharacter
 
 -