Removed unneeded dependence on the sound services.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3524 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-04-25 21:08:52 +00:00
parent 03a1e843c1
commit 2351316259
5 changed files with 0 additions and 38 deletions
@@ -38,7 +38,6 @@ import com.samskivert.util.ObserverList;
import com.samskivert.util.StringUtil;
import com.threerings.media.FrameParticipant;
import com.threerings.media.sound.SoundCodes;
import com.threerings.presents.dobj.AttributeChangeListener;
import com.threerings.presents.dobj.AttributeChangedEvent;
@@ -126,15 +125,6 @@ public abstract class PuzzleController extends GameController
return _pidx;
}
/**
* Convenience method for playing a puzzle sound effect.
*/
public void playSound (String packagePath, String key)
{
_pctx.getSoundManager().play(
SoundCodes.GAME_FX, packagePath, key);
}
// documentation inherited
public void setGameOver (boolean gameOver)
{
@@ -27,7 +27,6 @@ import com.threerings.util.MessageManager;
import com.threerings.util.Name;
import com.threerings.media.FrameManager;
import com.threerings.media.sound.SoundManager;
import com.threerings.parlor.util.ParlorContext;
@@ -60,9 +59,4 @@ public interface PuzzleContext extends ParlorContext
* Provides access to the key dispatcher.
*/
public KeyDispatcher getKeyDispatcher ();
/**
* Provides access to the sound manager.
*/
public SoundManager getSoundManager ();
}