![]() |
Rabbit Escape
2017-01-14_18:33:47_+0000__(tag:_v0.10.1)
|
Public Member Functions | |
Clip | get (String name) throws Exception |
void | dispose () |
void | stopAll () |
void | remove (String name) |
Private Member Functions | |
Clip | loadClip (String name) throws Exception |
Private Attributes | |
final Map< String, Clip > | clips = new HashMap<String, Clip>() |
For now, caches all sounds you ask for, and disposes them when asked.
void rabbitescape.ui.swing.SwingSoundCache.dispose | ( | ) |
Clip rabbitescape.ui.swing.SwingSoundCache.get | ( | String | name | ) | throws Exception |
Could throw lots of different exceptions - we will ignore them all, since audio is non-critical.
|
private |
void rabbitescape.ui.swing.SwingSoundCache.remove | ( | String | name | ) |
void rabbitescape.ui.swing.SwingSoundCache.stopAll | ( | ) |
|
private |