Package zombie.network.packets
Class StartFire
java.lang.Object
zombie.network.packets.StartFire
- All Implemented Interfaces:
INetworkPacket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
parse
(ByteBuffer b, UdpConnection connection) void
process()
void
set
(IsoGridSquare gridSquare, boolean _ignite, int _fireEnergy, int Life, boolean _smoke) boolean
validate
(UdpConnection connection) 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
-
Constructor Details
-
StartFire
public StartFire()
-
-
Method Details
-
set
public void set(IsoGridSquare gridSquare, boolean _ignite, int _fireEnergy, int Life, boolean _smoke) -
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
-