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