bool MusicProcess::readFromPacket(PacketPtr packet) { std::string filename = packet->getString(); return _music->load(filename); }
bool SoundProcess::readFromPacket(PacketPtr packet) { std::string filename = packet->getString(); return _sound->load(filename); }