Package zombie.network.packets
Class StartFire
java.lang.Object
zombie.network.packets.StartFire
- All Implemented Interfaces:
INetworkPacket
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected boolean
protected int
protected int
protected boolean
protected int
protected final Square
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
parse
(ByteBuffer byteBuffer, UdpConnection udpConnection) void
process()
void
set
(IsoGridSquare square, boolean boolean1, int int1, int int2, boolean boolean2) boolean
validate
(UdpConnection udpConnection) 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
-
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:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
process
public void process() -
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
validate
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-