Package zombie.network.packets
Class PlaySoundPacket
java.lang.Object
zombie.network.packets.PlaySoundPacket
- All Implemented Interfaces:
INetworkPacket
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
boolean
void
parse
(ByteBuffer b, UdpConnection connection) void
process()
void
set
(String name, boolean loop, IsoMovingObject source) 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
log
-
Constructor Details
-
PlaySoundPacket
public PlaySoundPacket()
-
-
Method Details
-
set
-
process
public void process() -
getName
-
getMovingObject
-
parse
- Specified by:
parse
in interfaceINetworkPacket
-
write
- Specified by:
write
in interfaceINetworkPacket
-
isConsistent
public boolean isConsistent()- Specified by:
isConsistent
in interfaceINetworkPacket
-
getPacketSizeBytes
public int getPacketSizeBytes()- Specified by:
getPacketSizeBytes
in interfaceINetworkPacket
-
getDescription
- Specified by:
getDescription
in interfaceINetworkPacket
-