Created a PartyGameConfig interface and rejiggered party game support a
bit to incorporate it. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2261 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// $Id: PartyGameConfig.java,v 1.1 2003/02/12 05:34:53 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.game;
|
||||
|
||||
import com.threerings.parlor.data.TableConfig;
|
||||
|
||||
/**
|
||||
* Provides additional information for party games.
|
||||
*/
|
||||
public interface PartyGameConfig extends TableConfig
|
||||
{
|
||||
/**
|
||||
* Returns true if this party game is being played in party game mode,
|
||||
* false if it is not.
|
||||
*/
|
||||
public boolean isPartyGame ();
|
||||
|
||||
/**
|
||||
* Configures this game config as a party game or not.
|
||||
*/
|
||||
public void setPartyGame (boolean isPartyGame);
|
||||
|
||||
/**
|
||||
* Returns an array of strings that describe the configuration of this
|
||||
* party game. This should eventually be rolled into a more general
|
||||
* purpose mechanism for generating descriptions of game
|
||||
* configurations as well as editors for game configurations (which
|
||||
* already exists in rudimentary form).
|
||||
*/
|
||||
public String[] getPartyDescription ();
|
||||
}
|
||||
Reference in New Issue
Block a user