72f4b6e1d9
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2885 542714f4-19e9-0310-aa3c-eee0fc999fb1
56 lines
1.3 KiB
Java
56 lines
1.3 KiB
Java
//
|
|
// $Id: PuzzleContext.java,v 1.3 2003/11/26 23:16:13 mdb Exp $
|
|
|
|
package com.threerings.puzzle.util;
|
|
|
|
import com.threerings.util.KeyDispatcher;
|
|
import com.threerings.util.KeyboardManager;
|
|
import com.threerings.util.MessageManager;
|
|
|
|
import com.threerings.media.FrameManager;
|
|
import com.threerings.media.sound.SoundManager;
|
|
|
|
import com.threerings.crowd.chat.client.ChatDirector;
|
|
import com.threerings.parlor.util.ParlorContext;
|
|
|
|
/**
|
|
* Provides access to entities needed by the puzzle services.
|
|
*/
|
|
public interface PuzzleContext extends ParlorContext
|
|
{
|
|
/**
|
|
* Returns the username of the local user.
|
|
*/
|
|
public String getUsername ();
|
|
|
|
/**
|
|
* Returns a reference to the message manager used by the client.
|
|
*/
|
|
public MessageManager getMessageManager ();
|
|
|
|
/**
|
|
* Provides access to the frame manager.
|
|
*/
|
|
public FrameManager getFrameManager ();
|
|
|
|
/**
|
|
* Provides access to the keyboard manager.
|
|
*/
|
|
public KeyboardManager getKeyboardManager ();
|
|
|
|
/**
|
|
* Provides access to the key dispatcher.
|
|
*/
|
|
public KeyDispatcher getKeyDispatcher ();
|
|
|
|
/**
|
|
* Provides access to the sound manager.
|
|
*/
|
|
public SoundManager getSoundManager ();
|
|
|
|
/**
|
|
* Provides access to the chat director.
|
|
*/
|
|
public ChatDirector getChatDirector ();
|
|
}
|