Removed special handling that is now confined to Yohoho and its particular

requirements.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3155 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-10-21 02:54:44 +00:00
parent 2359961556
commit 5939e8fd02
10 changed files with 16 additions and 388 deletions
@@ -1,5 +1,5 @@
//
// $Id: PuzzleService.java,v 1.4 2004/08/27 02:20:27 mdb Exp $
// $Id: PuzzleService.java,v 1.5 2004/10/21 02:54:43 mdb Exp $
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
@@ -24,7 +24,6 @@ package com.threerings.puzzle.client;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService;
import com.threerings.crowd.data.PlaceConfig;
import com.threerings.puzzle.data.SolitairePuzzleConfig;
/**
@@ -34,31 +33,10 @@ import com.threerings.puzzle.data.SolitairePuzzleConfig;
*/
public interface PuzzleService extends InvocationService
{
/** Used to communicate responses to {@link #enterPuzzle} requests. */
public static interface EnterPuzzleListener extends InvocationListener
{
/**
* Indicates that a {@link #enterPuzzle} request was successful
* and provides the place config for the puzzle room.
*/
public void puzzleEntered (PlaceConfig config);
}
/**
* Requests that this client start up the specified single-player
* puzzle.
*/
public void startPuzzle (Client client, SolitairePuzzleConfig config,
ConfirmListener listener);
/**
* Requests that this client enter the specified puzzle.
*/
public void enterPuzzle (
Client client, int puzzleOid, EnterPuzzleListener listener);
/**
* Requests that this client depart whatever puzzle they occupy.
*/
public void leavePuzzle (Client client);
}