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:
@@ -60,7 +60,13 @@ public abstract class GameConfig extends PlaceConfig implements Cloneable
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user