|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.kolls.railworld.Sounds
public class Sounds
Sound management class. Manages all sounds. May load sounds using either Java Sound API or Applet sound system
| Nested Class Summary | |
|---|---|
static class |
Sounds.SoundSystem
Which sound system to use |
| Field Summary | |
|---|---|
static Sound |
brake
|
static Sound |
couple
|
static Sound |
crossing
|
static Sound[] |
engine
|
static Sound |
horn
|
static Sound |
switchd
|
static Sound |
uncouple
|
static Sound |
wreck
|
| Constructor Summary | |
|---|---|
Sounds()
|
|
| Method Summary | |
|---|---|
static void |
allFreeze()
Freeze all sounds. |
static void |
allStop()
Stop all sounds. |
static void |
allUnfreeze()
Unfreeze all sounds. |
void |
loadSounds(javax.swing.JProgressBar progress,
Sounds.SoundSystem ss)
Load all sounds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Sound couple
public static Sound uncouple
public static Sound brake
public static Sound switchd
public static Sound crossing
public static Sound wreck
public static Sound horn
public static Sound[] engine
| Constructor Detail |
|---|
public Sounds()
| Method Detail |
|---|
public static void allStop()
public static void allFreeze()
public static void allUnfreeze()
public void loadSounds(javax.swing.JProgressBar progress,
Sounds.SoundSystem ss)
progress - The progress bar to update (may be null)ss - The sound system to use when loading sounds.Sounds.SoundSystem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||