Package zombie.network.packets
Class DeadCharacterPacket
java.lang.Object
zombie.network.packets.DeadCharacterPacket
- All Implemented Interfaces:
INetworkPacket
- Direct Known Subclasses:
DeadPlayerPacket
,DeadZombiePacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
parse
(ByteBuffer b, UdpConnection connection) void
process()
void
set
(IsoGameCharacter character) void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.network.packets.INetworkPacket
getPacketSizeBytes, log
-
Field Details
-
id
public short id
-
-
Constructor Details
-
DeadCharacterPacket
public DeadCharacterPacket()
-
-
Method Details
-
set
-
process
public void process() -
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-
getDeathDescription
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-