|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodeblockutil.SoundManager
public class SoundManager
Manages the sounds for StarLogoBlocks
Field Summary | |
---|---|
static boolean |
DEBUG
|
Constructor Summary | |
---|---|
SoundManager()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean DEBUG
Constructor Detail |
---|
public SoundManager()
Method Detail |
---|
public static Sound loadSound(java.lang.String soundFileName)
public static void setSoundEnabled(boolean enableSound)
enableSound
- public static boolean isSoundEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |