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:
Andrzej Kapolka
2004-11-23 22:01:41 +00:00
parent 660ff94fc1
commit 98ea85c9b1
2 changed files with 7 additions and 7 deletions
@@ -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
// 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. */
public boolean rated = true;
/**
* Returns the game rating type.
*/
public abstract byte getRatingTypeId ();
/**
* 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
// 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
implements Cloneable
{
/**
* Returns the puzzle rating type.
*/
public abstract byte getRatingTypeId ();
/**
* Constructs a blank puzzle config.
*/