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:
@@ -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;
|
package com.threerings.whirled.server;
|
||||||
|
|
||||||
@@ -26,6 +26,11 @@ public interface RuntimeScene
|
|||||||
*/
|
*/
|
||||||
public int getId ();
|
public int getId ();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the human readable name of this scene.
|
||||||
|
*/
|
||||||
|
public String getName ();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the version number of this scene.
|
* 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;
|
package com.threerings.whirled.server;
|
||||||
|
|
||||||
@@ -28,6 +28,12 @@ public class RuntimeSceneImpl implements RuntimeScene
|
|||||||
return _model.sceneId;
|
return _model.sceneId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// documentation inherited
|
||||||
|
public String getName ()
|
||||||
|
{
|
||||||
|
return _model.sceneName;
|
||||||
|
}
|
||||||
|
|
||||||
// documentation inherited
|
// documentation inherited
|
||||||
public int getVersion ()
|
public int getVersion ()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user