Provide access to scene name.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1513 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-06-20 22:10:56 +00:00
parent 1f80cf9805
commit d88e6bc490
2 changed files with 13 additions and 2 deletions
@@ -1,5 +1,5 @@
//
// $Id: RuntimeScene.java,v 1.1 2001/11/12 20:56:56 mdb Exp $
// $Id: RuntimeScene.java,v 1.2 2002/06/20 22:10:55 mdb Exp $
package com.threerings.whirled.server;
@@ -26,6 +26,11 @@ public interface RuntimeScene
*/
public int getId ();
/**
* Returns the human readable name of this scene.
*/
public String getName ();
/**
* Returns the version number of this scene.
*/
@@ -1,5 +1,5 @@
//
// $Id: RuntimeSceneImpl.java,v 1.1 2001/11/12 20:56:56 mdb Exp $
// $Id: RuntimeSceneImpl.java,v 1.2 2002/06/20 22:10:56 mdb Exp $
package com.threerings.whirled.server;
@@ -28,6 +28,12 @@ public class RuntimeSceneImpl implements RuntimeScene
return _model.sceneId;
}
// documentation inherited
public String getName ()
{
return _model.sceneName;
}
// documentation inherited
public int getVersion ()
{