Added setVersion().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2238 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-02-04 17:25:09 +00:00
parent a5c01f8343
commit 019981ac71
2 changed files with 14 additions and 2 deletions
@@ -1,5 +1,5 @@
//
// $Id: RuntimeScene.java,v 1.2 2002/06/20 22:10:55 mdb Exp $
// $Id: RuntimeScene.java,v 1.3 2003/02/04 17:25:09 mdb Exp $
package com.threerings.whirled.server;
@@ -36,6 +36,12 @@ public interface RuntimeScene
*/
public int getVersion ();
/**
* Updates the version number of this scene and immediately updates
* our associated scene model.
*/
public void setVersion (int version);
/**
* Returns the list of scene ids of this scene's neighbors.
*/
@@ -1,5 +1,5 @@
//
// $Id: RuntimeSceneImpl.java,v 1.2 2002/06/20 22:10:56 mdb Exp $
// $Id: RuntimeSceneImpl.java,v 1.3 2003/02/04 17:25:09 mdb Exp $
package com.threerings.whirled.server;
@@ -40,6 +40,12 @@ public class RuntimeSceneImpl implements RuntimeScene
return _model.version;
}
// documentation inherited from interface
public void setVersion (int version)
{
_model.version = version;
}
// documentation inherited
public int[] getNeighborIds ()
{