Added a default implementation of getGameName().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3275 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-12-15 02:38:42 +00:00
parent 3bbdef33d7
commit 63131a8911
@@ -60,7 +60,13 @@ public abstract class GameConfig extends PlaceConfig implements Cloneable
/** /**
* Returns a translatable label describing this game. * Returns a translatable label describing this game.
*/ */
public abstract String getGameName (); public String getGameName ()
{
// the whole getRatingTypeId(), getGameName(), getBundleName()
// business should be cleaned up. we should have getGameIdent()
// and everything should have a default implementation using that
return "m." + getBundleName();
}
/** /**
* Returns the message bundle identifier for the bundle that should be * Returns the message bundle identifier for the bundle that should be