Files
narya/src/java/com/threerings/parlor/game/GameService.java
T
Walter Korman dbdfd1bad0 Initial support for creating, joining and starting party games that are
created by a particular player; may be subsequently joined by other
players; and started when any game-specific prerequisites are satisfied by
the creating player submitting a GameService.startPartyGame() request.
We'll likely be adding a bit more soon to allow watching players to join a
party game that hasn't yet started.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1667 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-06 22:52:27 +00:00

29 lines
873 B
Java

//
// $Id: GameService.java,v 1.2 2002/09/06 22:52:27 shaper Exp $
package com.threerings.parlor.game;
import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService;
/**
* Provides services used by game clients to request that actions be taken
* by the game manager.
*/
public interface GameService extends InvocationService
{
/**
* Lets the game manager know that the calling player is in the game
* room and ready to play.
*/
public void playerReady (Client client);
/**
* Asks the game manager to start the party game. This should only be
* called for party games, and then only by the creating player after
* any other game-specific starting prerequisites (e.g., a required
* number of players) have been fulfilled.
*/
public void startPartyGame (Client client);
}