Pushed getRatingTypeId up to GameConfig.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3230 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: GameConfig.java,v 1.20 2004/10/22 18:50:51 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
|
||||||
@@ -50,6 +50,11 @@ public abstract class GameConfig extends PlaceConfig implements Cloneable
|
|||||||
/** Indicates whether or not this game is rated. */
|
/** Indicates whether or not this game is rated. */
|
||||||
public boolean rated = true;
|
public boolean rated = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the game rating type.
|
||||||
|
*/
|
||||||
|
public abstract byte getRatingTypeId ();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a translatable label describing this game.
|
* Returns a translatable label describing this game.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: PuzzleConfig.java,v 1.5 2004/10/28 19:20:27 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
|
||||||
@@ -29,11 +29,6 @@ import com.threerings.parlor.game.GameConfig;
|
|||||||
public abstract class PuzzleConfig extends GameConfig
|
public abstract class PuzzleConfig extends GameConfig
|
||||||
implements Cloneable
|
implements Cloneable
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Returns the puzzle rating type.
|
|
||||||
*/
|
|
||||||
public abstract byte getRatingTypeId ();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a blank puzzle config.
|
* Constructs a blank puzzle config.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user