public class SoundManager
extends java.lang.Object
| Constructor and Description |
|---|
SoundManager() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSoundEnabled()
Returns true iff sounds are being allowed to play.
|
static Sound |
loadSound(java.lang.String soundFileName) |
static void |
setSoundEnabled(boolean enableSound)
Sets the ability to enable sound within the entire codeblocks library
If enableSound is set to false, no sounds can be played/heard until
enableSound is set to true again.
|
public static Sound loadSound(java.lang.String soundFileName)
public static void setSoundEnabled(boolean enableSound)
enableSound - public static boolean isSoundEnabled()