Holy crap Batman! It's the beginnings of refactoring the basic puzzle

stuff into Narya.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2876 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-11-26 01:42:34 +00:00
parent 0601c94e42
commit 54eaddb27d
53 changed files with 9395 additions and 0 deletions
@@ -0,0 +1,31 @@
//
// $Id: PuzzleGameService.java,v 1.1 2003/11/26 01:42:34 mdb Exp $
package com.threerings.puzzle.client;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService;
import com.threerings.puzzle.data.Board;
import com.threerings.puzzle.data.PuzzleCodes;
/**
* Provides services used by puzzle game clients to request that actions
* be taken by the puzzle manager.
*/
public interface PuzzleGameService extends InvocationService, PuzzleCodes
{
/**
* Asks the puzzle manager to apply the supplied progress events for
* the specified puzzle round to the player's state.
*/
public void updateProgress (Client client, int roundId, int[] events);
/**
* Debug variant of {@link #updateProgress} that is only used when
* {@link #SYNC_BOARD_STATE} is true and which includes the board
* states associated with each event.
*/
public void updateProgressSync (
Client client, int roundId, int[] events, Board[] states);
}