Allow a custom cluster record to be used.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2908 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SpotSceneManager.java,v 1.48 2003/12/09 20:57:14 mdb Exp $
|
||||
// $Id: SpotSceneManager.java,v 1.49 2003/12/11 22:50:55 mdb Exp $
|
||||
|
||||
package com.threerings.whirled.spot.server;
|
||||
|
||||
@@ -319,11 +319,20 @@ public class SpotSceneManager extends SceneManager
|
||||
// otherwise we create a new cluster and add our charter members!
|
||||
// Log.debug("Creating cluster [starter=" + joiner.who() +
|
||||
// ", target=" + friend.who() + "].");
|
||||
clrec = new ClusterRecord();
|
||||
clrec = createClusterRecord();
|
||||
clrec.addBody(friend);
|
||||
clrec.addBody(joiner);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates the cluster record instance that we'll use to manage our
|
||||
* cluster.
|
||||
*/
|
||||
protected ClusterRecord createClusterRecord ()
|
||||
{
|
||||
return new ClusterRecord();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gives derived classes an opportunity to veto a user's attempt to
|
||||
* start a cluster with another user. If the attempt should be vetoed,
|
||||
|
||||
Reference in New Issue
Block a user