Class BackgroundMusicSourceFactory
java.lang.Object
games.stendhal.server.entity.mapstuff.sound.SoundSourceFactory
games.stendhal.server.entity.mapstuff.sound.BackgroundMusicSourceFactory
- All Implemented Interfaces:
ConfigurableFactory
A factory for a BackgroundMusicSource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate an BackgroundMusicSource.Methods inherited from class games.stendhal.server.entity.mapstuff.sound.SoundSourceFactory
getRadius, getSound, getVolume
-
Constructor Details
-
BackgroundMusicSourceFactory
public BackgroundMusicSourceFactory()
-
-
Method Details
-
create
Create an BackgroundMusicSource.- Parameters:
ctx
- Configuration context.- Returns:
- An BackgroundMusicSource.
- Throws:
IllegalArgumentException
- If there is a problem with the attributes.- See Also:
LoopedAmbientSoundSource
-