Package zombie.network.packets
Class StartFire
java.lang.Object
zombie.network.packets.StartFire
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected booleanprotected intprotected intprotected booleanprotected intprotected final Square -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidparse(ByteBuffer byteBuffer, UdpConnection udpConnection) voidprocess()voidset(IsoGridSquare square, boolean boolean1, int int1, int int2, boolean boolean2) 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
-
square
-
fireEnergy
protected int fireEnergy -
ignite
protected boolean ignite -
life
protected int life -
smoke
protected boolean smoke -
spreadDelay
protected int spreadDelay -
numParticles
protected int numParticles
-
-
Constructor Details
-
StartFire
public StartFire()
-
-
Method Details
-
set
-
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
-