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
Modifier and TypeFieldDescriptionprotected IsoGameCharacter
protected short
protected String
protected float
protected float
protected String
protected float
protected float
protected float
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract IsoGameCharacter
float
getX()
float
getY()
boolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) protected void
react()
void
set
(IsoGameCharacter gameCharacter) 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, 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:
parse
in interfaceINetworkPacket
- Overrides:
parse
in classInstance
-
write
- Specified by:
write
in interfaceINetworkPacket
- Overrides:
write
in classInstance
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
- Overrides:
isConsistent
in classInstance
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
- Overrides:
getDescription
in classInstance
-
react
protected void react() -
getX
public float getX()- Specified by:
getX
in interfaceIPositional
-
getY
public float getY()- Specified by:
getY
in interfaceIPositional
-
getCharacter
-