Changed getPartyDescription in PartyGameConfig to getDescription in GameConfig.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3231 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -75,6 +75,19 @@ public abstract class GameConfig extends PlaceConfig implements Cloneable
|
|||||||
*/
|
*/
|
||||||
public abstract Class getConfiguratorClass ();
|
public abstract Class getConfiguratorClass ();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array of strings that describe the configuration of this
|
||||||
|
* 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). Default implementation returns
|
||||||
|
* an empty array.
|
||||||
|
*/
|
||||||
|
public String[] getDescription ()
|
||||||
|
{
|
||||||
|
return new String[0];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if this game config object is equal to the supplied
|
* Returns true if this game config object is equal to the supplied
|
||||||
* object (meaning it is also a game config object and its
|
* object (meaning it is also a game config object and its
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PartyGameConfig.java,v 1.2 2004/08/27 02:20:14 mdb Exp $
|
// $Id$
|
||||||
//
|
//
|
||||||
// Narya library - tools for developing networked games
|
// Narya library - tools for developing networked games
|
||||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||||
@@ -38,13 +38,4 @@ public interface PartyGameConfig extends TableConfig
|
|||||||
* Configures this game config as a party game or not.
|
* Configures this game config as a party game or not.
|
||||||
*/
|
*/
|
||||||
public void setPartyGame (boolean isPartyGame);
|
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