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