diff --git a/src/java/com/threerings/parlor/game/GameConfig.java b/src/java/com/threerings/parlor/game/GameConfig.java index 238a26ceb..732f6a40e 100644 --- a/src/java/com/threerings/parlor/game/GameConfig.java +++ b/src/java/com/threerings/parlor/game/GameConfig.java @@ -75,6 +75,19 @@ public abstract class GameConfig extends PlaceConfig implements Cloneable */ 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 * object (meaning it is also a game config object and its diff --git a/src/java/com/threerings/parlor/game/PartyGameConfig.java b/src/java/com/threerings/parlor/game/PartyGameConfig.java index 88147b1b6..78f5c8038 100644 --- a/src/java/com/threerings/parlor/game/PartyGameConfig.java +++ b/src/java/com/threerings/parlor/game/PartyGameConfig.java @@ -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 // 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. */ 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 (); }