git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@873 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Charlie Groves
2009-08-25 18:01:30 +00:00
parent 3871628b27
commit ac5d784a9e
2 changed files with 13 additions and 21 deletions
@@ -338,7 +338,7 @@ public abstract class PuzzleController extends GameController
break; break;
case PuzzleObject.GAME_OVER: case PuzzleObject.GAME_OVER:
// similarly we haev to postpone game ending activity until the current action has // similarly we have to postpone game ending activity until the current action has
// ended clean up and clear out // ended clean up and clear out
clearAction(); clearAction();
// wait until the action is cleared before we roll down to our delegates and do all // wait until the action is cleared before we roll down to our delegates and do all
@@ -12,7 +12,7 @@
// //
// This library is distributed in the hope that it will be useful, // This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of // but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details. // Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public // You should have received a copy of the GNU Lesser General Public
@@ -27,7 +27,6 @@ import com.threerings.util.MessageManager;
import com.threerings.resource.ResourceManager; import com.threerings.resource.ResourceManager;
import com.threerings.media.FrameManager;
import com.threerings.media.image.ColorPository; import com.threerings.media.image.ColorPository;
import com.threerings.media.image.ImageManager; import com.threerings.media.image.ImageManager;
@@ -36,60 +35,53 @@ import com.threerings.miso.util.MisoContext;
import com.threerings.cast.ComponentRepository; import com.threerings.cast.ComponentRepository;
/** /**
* A context that provides for the myriad requirements of the Stage * A context that provides for the myriad requirements of the Stage system.
* system.
*/ */
public interface StageContext public interface StageContext
extends MisoContext extends MisoContext
{ {
/** /**
* Returns the frame manager driving our interface. * Returns the resource manager via which all client resources are loaded.
*/ */
public FrameManager getFrameManager (); ResourceManager getResourceManager ();
/**
* Returns the resource manager via which all client resources are
* loaded.
*/
public ResourceManager getResourceManager ();
/** /**
* Access to the image manager. * Access to the image manager.
*/ */
public ImageManager getImageManager (); ImageManager getImageManager ();
/** /**
* Provides access to the key dispatcher. * Provides access to the key dispatcher.
*/ */
public KeyDispatcher getKeyDispatcher (); KeyDispatcher getKeyDispatcher ();
/** /**
* Returns a reference to the message manager used by the client. * Returns a reference to the message manager used by the client.
*/ */
public MessageManager getMessageManager (); MessageManager getMessageManager ();
/** /**
* Returns a reference to the keyboard manager. * Returns a reference to the keyboard manager.
*/ */
public KeyboardManager getKeyboardManager(); KeyboardManager getKeyboardManager ();
/** /**
* Returns the component repository in use by this client. * Returns the component repository in use by this client.
*/ */
public ComponentRepository getComponentRepository (); ComponentRepository getComponentRepository ();
/** /**
* Returns a reference to the colorization repository. * Returns a reference to the colorization repository.
*/ */
public ColorPository getColorPository (); ColorPository getColorPository ();
/** /**
* Translates the specified message using the default bundle. * Translates the specified message using the default bundle.
*/ */
public String xlate (String message); String xlate (String message);
/** /**
* Translates the specified message using the specified bundle. * Translates the specified message using the specified bundle.
*/ */
public String xlate (String bundle, String message); String xlate (String bundle, String message);
} }