com.threerings.media.sound
Class SoundPlayer.SoundType

java.lang.Object
  extended by com.threerings.media.sound.SoundPlayer.SoundType
Enclosing class:
SoundPlayer

public static class SoundPlayer.SoundType
extends Object

Create instances of this for your application to differentiate between different types of sounds.


Field Summary
protected  String _strname
           
 
Constructor Summary
SoundPlayer.SoundType(String strname)
          Construct a new SoundType.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_strname

protected String _strname
Constructor Detail

SoundPlayer.SoundType

public SoundPlayer.SoundType(String strname)
Construct a new SoundType. Which should be a static variable stashed somewhere for the entire application to share.

Parameters:
strname - a short string identifier, preferably without spaces.
Method Detail

toString

public String toString()
Overrides:
toString in class Object