Package zombie.network.packets
Class Stitch
java.lang.Object
zombie.network.packets.Stitch
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PlayerBodyPartprotected booleanprotected booleanprotected PlayerItemprotected floatprotected final Playerprotected final Player -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidprocess()voidset(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, BodyPart bodyPart, InventoryItem inventoryItem, boolean boolean1) booleanvalidate(UdpConnection udpConnection) 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
-
wielder
-
target
-
bodyPart
-
item
-
stitchTime
protected float stitchTime -
doIt
protected boolean doIt -
infect
protected boolean infect
-
-
Constructor Details
-
Stitch
public Stitch()
-
-
Method Details
-
set
public void set(IsoGameCharacter gameCharacter, IsoGameCharacter gameCharacter2, BodyPart bodyPart, InventoryItem inventoryItem, boolean boolean1) -
parse
- Specified by:
parsein interfaceINetworkPacket
-
write
- Specified by:
writein interfaceINetworkPacket
-
process
public void process() -
isConsistent
public boolean isConsistent()- Specified by:
isConsistentin interfaceINetworkPacket
-
validate
-
getDescription
- Specified by:
getDescriptionin interfaceINetworkPacket
-